Skip to content

feat: + lint fix

feat: + lint fix #11

Workflow file for this run

name: Deploy demo
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
- name: Install dependendencies
run: npm i
- name: Build project
run: npm run build
- name: Deploy demo
run: |
cd demo
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d build -t true -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}