This commit is contained in:
parent
175a0b9fcf
commit
dd4e4bd8ac
1 changed files with 5 additions and 1 deletions
|
@ -82,7 +82,11 @@ steps:
|
|||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
|
||||
- chmod 600 ~/.ssh/deploy_key
|
||||
- ssh -i ~/.ssh/deploy_key "$SSH_USER@$SSH_HOST" ls -l /
|
||||
- |
|
||||
ssh -o StrictHostKeyChecking=no \
|
||||
-i ~/.ssh/deploy_key \
|
||||
"$SSH_USER@$SSH_HOST" \
|
||||
ls -l /
|
||||
|
||||
# volumes:
|
||||
# - name: cache
|
||||
|
|
Loading…
Reference in a new issue