diff --git a/.drone.yml b/.drone.yml index adb66e8..14ce3da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,6 +54,7 @@ steps: SSH_TARGET: from_secret: SCP_TARGET_DIRECTORY commands: + - mkdir $HOME/.ssh - echo "$SCP_KEY" > $HOME/.ssh/id_rsa - scp -rP public/ $SCP_PORT $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY