parent
9b66682226
commit
9c6f2ec1ee
|
@ -31,10 +31,12 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: private_key
|
from_secret: private_key
|
||||||
|
KNOWN_HOSTS:
|
||||||
|
from_secret: known_hosts
|
||||||
commands:
|
commands:
|
||||||
- mkdir $HOME/.ssh
|
- mkdir $HOME/.ssh
|
||||||
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
|
||||||
- echo "Host *\\n StrictHostKeyChecking no" > $HOME/.ssh/config
|
- echo "$KNOWN_HOSTS" > $HOME/.ssh/known_hosts
|
||||||
- chmod 600 $HOME/.ssh/id_rsa
|
- chmod 600 $HOME/.ssh/id_rsa
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue