Skip to main content

Deploy cb-website with Cloudflare Pages

Document: INF-205Type: RunbookStatus: ApprovedOwner: Cloud EngineeringVersion: 4.2.0Updated: 2026-07-17

Approved deployment valuesโ€‹

SettingValue
GitHub organizationcloudberrie-studio
Repositorycb-website
Production branchmain
Project namecb-website
Initial URLcb-website.pages.dev or available equivalent
Custom domaincloudberrie.com after validation

Determine the build type firstโ€‹

Current repository observation: the committed site includes root-level index.html, additional HTML pages, assets, robots.txt, and sitemap.xml. Treat it as a static site unless a package.json and build process are present.

Project typeBuild commandOutput directory
Static HTML at repository rootLeave blank/ or the Cloudflare fieldโ€™s root/default option
Next.js static exportnpm run buildUsually out, based on project configuration

Procedureโ€‹

  1. Cloudflare dashboard โ†’ Workers & Pages.
  2. Create an application / Pages project and connect to Git.
  3. Authorize the Cloudflare GitHub application for the cloudberrie-studio organization and the selected repository.
  4. Select cb-website and main.
  5. Enter the correct build values from the table above.
  6. Deploy.
  7. Open the generated pages.dev URL.
  8. Validate every page, image, navigation link, robots.txt, sitemap.xml, privacy, and terms pages.
  9. Only then add the custom domain.

Production validationโ€‹

Homepage and mobile layout work. EventLumi and Needle Needs pages work. No development secrets or .env files are deployed. HTTPS is active. A new GitHub push triggers a deployment. Custom domain is added only after pages.dev approval.