Skip to content

Build and deploy demo #691

Build and deploy demo

Build and deploy demo #691

Workflow file for this run

name: Build and deploy demo
on:
workflow_run:
workflows:
- Release
types:
- completed
jobs:
deploy-demo:
name: Build and deploy demo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: .node-version
cache: pnpm
cache-dependency-path: ./demo/pnpm-lock.yaml
- run: pnpm install
working-directory: ./demo
- run: pnpm build
working-directory: ./demo
- uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./demo/public/
force_orphan: true