Set the Pages production branch when creating the project
Deploy to Cloudflare Pages / deploy (push) Successful in 33s
Deploy to Cloudflare Pages / deploy (push) Successful in 33s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user