Deployment¶
App deployment¶
The app is built with Vite and deployed with GitHub Pages.
Build behavior¶
The Pages workflow:
- installs dependencies with Bun
- syncs the docs environment with
uv - runs
bun run pages:build - uploads
dist/ - deploys the artifact to GitHub Pages
bun run pages:build does two things:
- builds the app into
dist/ - builds the docs site directly into
dist/docs/
That means one Pages deployment serves both:
- app at
/ - docs at
/docs/
Download deployment¶
Download archives are hosted from Cloudflare R2 via:
Docs deployment¶
The docs are deployed as part of the same GitHub Pages artifact.
docs:build writes the docs site to dist/docs/. pages:build first builds
the app into dist/, then runs the docs build so GitHub Pages can serve the app
at / and the docs at /docs/ from one artifact.