debug: fix Alpine-incompatible od command in Coolify deploy step
Previous run failed at od -t x1z (unsupported in Alpine busybox). Switch to hexdump -C which is available in Alpine. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -60,8 +60,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Token length: ${#COOLIFY_TOKEN}"
|
echo "Token length: ${#COOLIFY_TOKEN}"
|
||||||
echo "Token first 3 chars: $(printf '%.3s' "${COOLIFY_TOKEN}")"
|
echo "Token first 3 chars: $(printf '%.3s' "${COOLIFY_TOKEN}")"
|
||||||
echo "Token hex (first 20 bytes):"
|
printf '%s' "${COOLIFY_TOKEN}" | hexdump -C | head -4
|
||||||
printf '%s' "${COOLIFY_TOKEN}" | od -A x -t x1z -N 20
|
|
||||||
echo "Webhook URL: ${COOLIFY_WEBHOOK}"
|
echo "Webhook URL: ${COOLIFY_WEBHOOK}"
|
||||||
echo "--- Attempt 1: manual Bearer header ---"
|
echo "--- Attempt 1: manual Bearer header ---"
|
||||||
RESPONSE=$(curl -s -w '\n%{http_code}' -X GET "${COOLIFY_WEBHOOK}" \
|
RESPONSE=$(curl -s -w '\n%{http_code}' -X GET "${COOLIFY_WEBHOOK}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user