Set the Pages production branch when creating the project
Deploy to Cloudflare Pages / deploy (push) Successful in 33s

This commit is contained in:
2026-10-21 16:57:07 +00:00
parent 4c3c9f88a3
commit e76281876b
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# Idempotent: creates the project on first run, no-ops afterwards.
run: npx wrangler pages project create opencodogoevals || echo "project already exists"
run: npx wrangler pages project create opencodogoevals --production-branch main || echo "project already exists"
- name: Deploy to Cloudflare Pages
env: