n
This commit is contained in:
parent
e0f617f205
commit
e5bd48a204
@ -39,7 +39,7 @@ release:
|
|||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
# Decode and set up the SSH private key
|
# 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
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error: Failed to decode SSH_PRIVATE_KEY_BASE64."
|
echo "Error: Failed to decode SSH_PRIVATE_KEY_BASE64."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user