fix: normalize raw deploy ssh key newlines
TaxBaik CI/CD / build-and-deploy (push) Failing after 48s

This commit is contained in:
2026-06-27 10:59:53 +09:00
parent 2e67e52391
commit a3aee8a4c3
+2 -2
View File
@@ -61,7 +61,7 @@ jobs:
if [ -n "$SSH_KEY_B64" ]; then
printf '%s' "$SSH_KEY_B64" | base64 -d > ~/.ssh/id_ed25519
elif [ -n "$SSH_KEY_RAW" ]; then
printf '%s\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
printf '%b\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
else
echo "Missing DEPLOY_SSH_KEY_B64 or DEPLOY_SSH_KEY secret" >&2
exit 1
@@ -94,7 +94,7 @@ jobs:
if [ -n "$SSH_KEY_B64" ]; then
printf '%s' "$SSH_KEY_B64" | base64 -d > ~/.ssh/id_ed25519
elif [ -n "$SSH_KEY_RAW" ]; then
printf '%s\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
printf '%b\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
else
echo "Missing DEPLOY_SSH_KEY_B64 or DEPLOY_SSH_KEY secret" >&2
exit 1