Deploying to pages with github actions: Branch Settings
Hello all
I have a question regarding deployment with github actions. I set the branch as
branch: production
but cloudflare pages is still deploying it as preview
How can I get around this?
Here is the current .yml file for the github actions
2 Replies
Ok, I solved it with setting
branch: main
interestingly, pages is not taking production
as production deployment. Maybe the wording can be improved there with also allowing production keyword to be deployed to productionIIRC, the default branch is
main
, but if you set up via wrangler, you should be able to set a different branch as the “main” one