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