pull/124/head
Till0196 1 year ago
parent f998f7969f
commit 32a5ec8be8

@ -13,10 +13,10 @@ jobs:
- name: set production branch - name: set production branch
run: | run: |
curl --request PATCH \ curl --request PATCH \
--url https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_IDENTIFIER_HERE/pages/projects/github-actions-example \ --url https://api.cloudflare.com/client/v4/accounts/github-actions-example/pages/projects/github-actions-example \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \ --header 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \
--data '{ "production_branch": "develop" }' --data '{ "production_branch": "develop" }'
- name: Publish to Cloudflare Pages - name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3 uses: cloudflare/wrangler-action@v3
with: with:

Loading…
Cancel
Save