Cloudflare Pages Deployment
The CustomerFlows docs site should be deployed on Cloudflare Pages.
Why Pages
- Docusaurus is a strong static-site fit
- Cloudflare Pages gives us clean preview deployments
- custom domains are straightforward
- it matches the rest of the CustomerFlows frontend delivery stack
Recommended Pages settings
- Framework preset:
Docusaurus - Root directory:
site - Build command:
npm run build - Build output directory:
build
Domains
- Canonical host:
docs.customerflows.com - Secondary host:
help.customerflows.com
Recommended behavior:
- serve the docs site from
docs.customerflows.com - redirect
help.customerflows.comtodocs.customerflows.com
CI
This repo includes a GitHub Actions CI workflow that builds the Docusaurus app from the site directory so content and config changes are validated before deployment.