Development workflow
Branches
main— production (Bunny).draft— the editor’s working branch (Cloudflare Pages preview).
There is no preview Git branch. Customer sites: Pages preview-only for draft; MagiCMS product deploys from this repo’s main as below.
Local commands
# Install everything
pnpm install
# Web editor
pnpm --filter @magiccms/web dev
# API dev (watch mode)
pnpm --filter @magiccms/functions-api dev
# UI type-check
pnpm --filter @magiccms/ui checkCI/CD
.github/workflows/check.yml— UI check, web check, API build and Bådin Presence verification..github/workflows/deploy.yml— web → Bunny CDN on push tomain..github/workflows/deploy-functions.yml— API → Bunny Edge Scripting on API changes.
Required GitHub secrets include BUNNY_STORAGE_PASSWORD, BUNNY_PULL_ZONE_ID, BUNNY_ACCESS_KEY, BUNNY_FUNCTION_ID and BUNNY_DEPLOY_KEY.