From f8c0be971e80fa3efd7a1e4faa6e742d0d334ee4 Mon Sep 17 00:00:00 2001 From: Shivaditya Shivganesh Date: Fri, 3 Jan 2025 23:13:57 -0500 Subject: [PATCH] fix: update env script --- .github/sync-env-vars.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-env-vars.sh b/.github/sync-env-vars.sh index 488c151..58fe237 100644 --- a/.github/sync-env-vars.sh +++ b/.github/sync-env-vars.sh @@ -16,7 +16,7 @@ REPOSITORY_NAME=${REPOSITORY_NAME//./-} echo "Repository name: $REPOSITORY_NAME" # Make the API call to Cloudflare -curl -X PUT \ +curl -X PATCH \ "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/${REPOSITORY_NAME}/deployment_configs" \ -H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \ -H "Content-Type: application/json" \