This commit is contained in:
parent
f9dd284042
commit
175a0b9fcf
1 changed files with 2 additions and 2 deletions
|
@ -80,9 +80,9 @@ steps:
|
|||
- echo $SSH_PRIVATE_KEY
|
||||
- apk update && apk add openssh-client
|
||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||
- 'echo "${SSH_PRIVATE_KEY}" | base64 -d > ~/.ssh/deploy_key'
|
||||
- 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 -i ~/.ssh/deploy_key "$SSH_USER@$SSH_HOST" ls -l /
|
||||
|
||||
# volumes:
|
||||
# - name: cache
|
||||
|
|
Loading…
Reference in a new issue