Skip to content

fix demo

fix demo #49

Workflow file for this run

name: deploy demo to github-pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- run: pnpm -C demo build --base "/webnect/"
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
path: "./demo/dist"
- id: deployment
uses: actions/deploy-pages@v1