Skip to content

Cloudflare Pages

Projects

Project NameCustom DomainFallback DomainEnvironment
semalink-websitesemalink.africasemalink-website.pages.devProduction (website)
semalink-app-stagingstaging-app.semalink.africasemalink-app-staging.pages.devStaging
semalink-app-testtest-app.semalink.africasemalink-app-test.pages.devTest
semalink-appapp.semalink.africasemalink-app.pages.devProduction (app)

Configuration

All app projects are configured with:

  • Production branch: main
  • Git provider: None (direct upload via GitHub Actions)
  • Build output directory: dist/

Deployment Method

Deployments use cloudflare/pages-action@v1, which uploads the built dist/ folder directly to Cloudflare Pages via the API.

Required secrets per environment:

SecretDescription
CLOUDFLARE_API_TOKENAPI token with Pages write permission
CLOUDFLARE_ACCOUNT_IDa9e39304b10e79b6b6e7c73a128b8ce7

Rollback

To roll back to a previous deployment without a code change:

  1. Go to Cloudflare Dashboard → Pages → select the project
  2. Click Deployments tab
  3. Find the deployment to roll back to → click Rollback to this deployment

Rollback is instant — no rebuild required.

Internal use only — Sema Link Engineering