This commit is contained in:
parent
4c26875261
commit
18407b6366
@ -19,8 +19,6 @@ steps:
|
|||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: SSH_KEY
|
from_secret: SSH_KEY
|
||||||
commands:
|
commands:
|
||||||
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
|
|
||||||
- eval $(ssh-agent -s)
|
|
||||||
- echo "$SSH_KEY" | ssh-add -
|
- echo "$SSH_KEY" | ssh-add -
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user