This commit is contained in:
parent
88e9b3c252
commit
955729fe90
|
@ -54,6 +54,7 @@ steps:
|
||||||
SSH_TARGET:
|
SSH_TARGET:
|
||||||
from_secret: SCP_TARGET_DIRECTORY
|
from_secret: SCP_TARGET_DIRECTORY
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir $HOME/.ssh
|
||||||
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
- echo "$SCP_KEY" > $HOME/.ssh/id_rsa
|
||||||
- scp -rP public/ $SCP_PORT $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY
|
- scp -rP public/ $SCP_PORT $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue