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