Skip to content

Commit

Permalink
Codechange: Use curl --fail-with-body to get additional diagnostics o…
Browse files Browse the repository at this point in the history
…n failure (#83)
  • Loading branch information
LordAro authored Nov 13, 2024
1 parent 2ba8759 commit ecd8c9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rw-cdn-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,14 @@ jobs:
curl \
-s \
--fail \
--fail-with-body \
-X PUT \
-T ${i} \
-H "Content-Type: ${CONTENT_TYPE}" \
-H "X-Signature: ${SIGNATURE}" \
-H "User-Agent: cdn-upload/1.0" \
https://cdn.openttd.org/${FILENAME}
echo
done
- name: Generate access token
Expand Down

0 comments on commit ecd8c9d

Please sign in to comment.