Skip to content

Fix GitHub Pages deployment workflow #1

Fix GitHub Pages deployment workflow

Fix GitHub Pages deployment workflow #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9.0.0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- run: pnpm install
- run: pnpm build --filter=web
- uses: actions/upload-pages-artifact@v3
with:
path: apps/web/dist/web/browser
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment