This commit is contained in:
parent
923a30e0b0
commit
77a21f72b5
|
@ -54,6 +54,7 @@ steps:
|
||||||
SCP_TARGET:
|
SCP_TARGET:
|
||||||
from_secret: SCP_TARGET_DIRECTORY
|
from_secret: SCP_TARGET_DIRECTORY
|
||||||
commands:
|
commands:
|
||||||
|
- ls
|
||||||
- mkdir $HOME/.ssh
|
- mkdir $HOME/.ssh
|
||||||
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
||||||
- ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts
|
- ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts
|
||||||
|
|
Loading…
Reference in a new issue