r
This commit is contained in:
parent
7ebcd5452e
commit
7a5918da87
@ -39,7 +39,7 @@ release:
|
||||
- chmod 700 ~/.ssh
|
||||
# Decode and set up the SSH private key
|
||||
- |
|
||||
printf '%s' "$SSH_PRIVATE_KEY_BASE64" | 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
|
||||
|
Loading…
Reference in New Issue
Block a user