Skip to content

fix(ci): make the release PR's checks passable #13

fix(ci): make the release PR's checks passable

fix(ci): make the release PR's checks passable #13

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment; cancel in-progress runs for newer pushes.
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# pnpm version comes from package.json's `packageManager` field —
# pinning it here too makes the action fail on any mismatch.
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
# base must match the path the site is served under so asset URLs
# resolve, e.g. /<repo>/ for GitHub Pages project sites, or the
# rewrite prefix for the dunky-dev.com multi-zone setup.
env:
BASE_PATH: /TODO-set-base-path/
# TODO: point this at the site package, e.g. `pnpm -C website build`
run: pnpm -C website build
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
# TODO: match your site's build output dir
path: website/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4