Just on this above <@247207278027997189>, what we've done is created protected branches for the envi
Just on this above @Farhian, what we've done is created protected branches for the environments, and rather than using the Pages Git integration, we use https://github.com/cloudflare/pages-action and set the branch. So we deploy
The protected branches is just to prevent anyone branching and pushing to that branch
And we just set them to read-only.
main to production and staging in parallel (staging is a protected branch name in our repo). And Cloudflare will create consistent, branch-based .pages.dev URLS (e.g. the-branch.your-project.pages.dev). For the staging deployment, you just need to pass the branch parameter when running the action.The protected branches is just to prevent anyone branching and pushing to that branch




