Deployment
The web application is built as a Vite static application. The API is packaged as a container and published to GHCR by the API release workflow. The documentation site is a separate VitePress static application deployed to a dedicated Cloudflare Pages project connected directly to the repository.
Cloudflare Pages
- Root directory: repository root
- Build command:
pnpm --filter @daily-rule/docs build - Output directory:
docs/build - Server runtime: none
- Preview deployments: enabled for branches and pull requests
GitHub Actions does not deploy the documentation. .github/workflows/docs.yml only installs, generates, builds, verifies, and uploads the static artifact.