fix: remove explicit multipart content-type header from Cloudflare Pages deploy step
CI / test (push) Successful in 1m49s
CI / docker (push) Successful in 23s

This commit is contained in:
zwitschi committed 2026-08-10 21:18:03 +02:00
1 parent af2e94aa46
commit 4aac5f9009
2 files changed
-2

No files matched your search

-1
View File
@@ -63,7 +63,6 @@ jobs:
curl -sS -X POST \ curl -sS -X POST \
"https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/linearvoid/deployments" \ "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/linearvoid/deployments" \
-H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \ -H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "commit_hash=${COMMIT_HASH}" \ -F "commit_hash=${COMMIT_HASH}" \
-F "commit_message=${COMMIT_MSG}" \ -F "commit_message=${COMMIT_MSG}" \
-F "commit_dirty=false" \ -F "commit_dirty=false" \
@@ -100,7 +100,6 @@ If the `cloudflare/pages-action@v1` action is unavailable from Gitea, use the di
curl -sS -X POST \ curl -sS -X POST \
"https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/linearvoid/deployments" \ "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/pages/projects/linearvoid/deployments" \
-H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \ -H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "commit_hash=${COMMIT_HASH}" \ -F "commit_hash=${COMMIT_HASH}" \
$form_args $form_args
``` ```