cannot change production branch on new dashboard UI
The dashboard UI for pages changed a little recently, and I can no longer find the way to change the default production branch. My repo has master as the prod branch, but I think CF is looking for main. I can’t figure out how to change it now
8 Replies
Mine only has Variables as the top section. The build section is not there
Oh it must be because my project is not using the built in git thing. I am deploying in a GH action. It used to still let me change the prod branch though I think
yeah it needs to be deployed through git
but maybe it wasn't the case before like you said
Hmm, do you know if there is any way to do it now? Like via the cli?
the "Branch control" title links to this: https://developers.cloudflare.com/pages/configuration/branch-build-controls/#branch-deployment-controls
there it is
🤝
Awesome, tysm!
Hopefully they add it back to the UI