fix: remove explicit multipart content-type header from Cloudflare Pages deploy step
This commit is contained in:
1 parent
af2e94aa46
commit
4aac5f9009
2 files changed
-2
No files matched your search
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user