Deploy
The docs site is automatically deployed to GitHub Pages on every merge to main.
GitHub Pages (Automatic)
The .github/workflows/build-docs.yml workflow automatically builds and deploys the docs to GitHub Pages on every push to main. The workflow can also be triggered manually from any branch.
GitHub Pages for this project is configured in Settings → Pages with "Source" set to "GitHub Actions".
Testing Documentation Changes
To verify your documentation changes build correctly before merging:
- Push your branch to GitHub
- Go to Actions → "Build and Deploy Docs"
- Click "Run workflow" and select your branch
The workflow will build and deploy your branch to GitHub Pages so you can preview the changes.
Workflow Details
The workflow (.github/workflows/build-docs.yml):
- Installs pnpm 10.12.4 and Node.js 20
- Builds the docs with
pnpm run build - Uploads the
docs/builddirectory as a Pages artifact - Deploys to GitHub Pages using the official
deploy-pagesaction
The workflow includes concurrency control to prevent simultaneous deployments and requires pages: write and id-token: write permissions.