Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ewen 2022-02-03 20:17:13 +00:00
parent 88e9b3c252
commit 955729fe90

View file

@ -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