From 32a5ec8be867feb9a989e9a471f83643081d3fd4 Mon Sep 17 00:00:00 2001 From: Till0196 <16399842+Till0196@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:57:46 +0900 Subject: [PATCH] fix --- .github/workflows/example2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/example2.yml b/.github/workflows/example2.yml index 6a1e944..98971cc 100644 --- a/.github/workflows/example2.yml +++ b/.github/workflows/example2.yml @@ -13,10 +13,10 @@ jobs: - name: set production branch run: | curl --request PATCH \ - --url https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_IDENTIFIER_HERE/pages/projects/github-actions-example \ - --header 'Content-Type: application/json' \ - --header 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \ - --data '{ "production_branch": "develop" }' + --url https://api.cloudflare.com/client/v4/accounts/github-actions-example/pages/projects/github-actions-example \ + --header 'Content-Type: application/json' \ + --header 'Authorization: Bearer ${{ secrets.CLOUDFLARE_API_TOKEN }}' \ + --data '{ "production_branch": "develop" }' - name: Publish to Cloudflare Pages uses: cloudflare/wrangler-action@v3 with: