From f78669ede015fbec8b61a3769bf06069f507a3f5 Mon Sep 17 00:00:00 2001 From: ewen Date: Thu, 3 Feb 2022 20:26:13 +0000 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 1 + 1 file changed, 1 insertion(+) 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