Architecture: Which Cloudflare Pages branch should docs-angular deploy to ...
Documentation for Sessions
🏗️ Architecture: Which Cloudflare Pages branch should docs-angular deploy to ...
Date: 2026-01-29
Time: 20:08:19 UTC
Session: editor2-73.31
Agent: documentation
Confidence: 100%
Status: ✅ Documented
📋 Decision Context
Question:
Which Cloudflare Pages branch should docs-angular deploy to for production?
Task: Fix docs.gograb.space not updating after deployment
🎯 Decision Made
Chosen:
deploy/docs branch
Options Considered:
- main branch
- deploy/docs branch
💭 Reasoning
Cloudflare Pages uses branch-based environments. The custom domain (docs.gograb.space) is bound to the PRODUCTION environment, which is configured to use 'deploy/docs' branch. Deploying to 'main' only creates Preview deployments with *.pages.dev URLs - the custom domain won't update. Always use --branch=deploy/docs for docs-angular production deployments.
📁 Files Involved
tools/scripts/deploy-docs.shdocs/english/Deployment/front-deployment/Cloudflare/deployment-pitfalls.md
🔗 Related
- Decision ID:
dev_1769717299728_e6vb52l - Session: 73
- Workspace: editor2
Auto-generated by MCP Smart Consolidation