Skip to content

fix: use styled-components v5 #24

fix: use styled-components v5

fix: use styled-components v5 #24

Workflow file for this run

name: Publish
on:
push:
branches:
- main
- release/**
env:
IS_GH_PAGES: gh-pages
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install and Build
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
run: |
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
npm config set "//npm.fontawesome.com/:_authToken" FONTAWESOME_NPM_AUTH_TOKEN
npm ci
npm run build
npm run export
touch out/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: out