Skip to content

Deployment workflow

Canonical reference: ../guides/domains.md

Environments

EnvironmentAPIProduct SPANotes
Locallocalhost:8787localhost:5173pnpm dev
Productionapi.cepatedge.comapp.cepatedge.comCustom domains on Pages/Worker

Staging *.zamdev.dev and bare *.pages.dev URLs are deprecated for auth/CORS configuration. Use custom .com domains in Cloudflare; Pages redirects handle default hostnames.

CI / manual deploy order

  1. pnpm worker:deploy — API first (schema + secrets must exist)
  2. pnpm landing:deploy — marketing
  3. pnpm web:deploy — demo SPA
  4. pnpm docs:deploy — documentation
  5. pnpm git:deploy — git analytics (optional)

GitHub Actions

  • CI: .github/workflows/ci.yml — typecheck, tests, builds (no deploy)
  • Deploy: .github/workflows/deploy.yml — path-filtered parallel jobs for worker / web / git / docs
    • Pages: app-cepatedge, git-cepatedge, docs-cepatedge
    • Worker: cepatedge (api.cepatedge.com)
    • Manual: Actions → Deploy → choose app (all / one surface)
    • Landing stays manual: pnpm landing:deploy

Add IndexNow ping after successful public Pages deploys when needed (see maintainer/shipped/platform.md and pnpm seo:indexnow).

Rollback

Pages: wrangler pages deployment list --project-name=<name> → rollback to prior deployment ID.

Worker: redeploy previous git tag or wrangler rollback per Cloudflare docs.