Skip to content

Worker streaming (#3) #41

Worker streaming (#3)

Worker streaming (#3) #41

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
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
path: "./demo/dist"
- id: deployment
uses: actions/deploy-pages@v1