diff --git a/.drone.yml b/.drone.yml index e13ebe6..c55fc60 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,6 +56,7 @@ steps: commands: - mkdir $HOME/.ssh - echo "$SCP_KEY" > $HOME/.ssh/id_rsa + - ssh-keyscan -t rsa -p $SCP_PORT $SCP_HOSTNAME >> $HOME/.ssh/known_hosts - scp -rP $SCP_PORT -i $HOME/.ssh/id_rsa public/ $SCP_USER@$SCP_HOSTNAME:$SCP_TARGET_DIRECTORY - name: rereveille_toi