This commit is contained in:
parent
b41c034f6a
commit
f9dd284042
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,9 @@ steps:
|
||||||
SSH_PRIVATE_KEY:
|
SSH_PRIVATE_KEY:
|
||||||
from_secret: SSH_PRIVATE_KEY
|
from_secret: SSH_PRIVATE_KEY
|
||||||
commands:
|
commands:
|
||||||
|
- echo $SSH_USER
|
||||||
|
- echo $SSH_HOST
|
||||||
|
- echo $SSH_PRIVATE_KEY
|
||||||
- apk update && apk add openssh-client
|
- apk update && apk add openssh-client
|
||||||
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
- mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
||||||
- 'echo "${SSH_PRIVATE_KEY}" | base64 -d > ~/.ssh/deploy_key'
|
- 'echo "${SSH_PRIVATE_KEY}" | base64 -d > ~/.ssh/deploy_key'
|
||||||
|
|
Loading…
Reference in a new issue