Skip to content

feat: bump

feat: bump #6

Workflow file for this run

name: Deploy demo
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'pnpm'
- name: Install dependendencies
run: pnpm i
- name: Build project
run: pnpm 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 }}