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

This commit is contained in:
ewen 2022-02-03 20:30:30 +00:00
parent 923a30e0b0
commit 77a21f72b5

View file

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