This commit is contained in:
WinterMyst 2024-09-22 19:25:21 +02:00
parent 7a5918da87
commit e0f617f205

View File

@ -39,7 +39,7 @@ release:
- chmod 700 ~/.ssh
# Decode and set up the SSH private key
- |
printf '%s' "$SSH_PRIVATE_KEY_ENCODED" | tr -d '\r\n' | base64 --decode > ~/.ssh/id_rsa
printf '%s' "SSH_PRIVATE_KEY_ENCODED | tr -d '\r\n' | base64 --decode > ~/.ssh/id_rsa
if [ $? -ne 0 ]; then
echo "Error: Failed to decode SSH_PRIVATE_KEY_BASE64."
exit 1