From b534ee7c05aa50eae9ba3b11ba9d33ed9fd9b79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Tue, 26 Oct 2021 23:46:21 +0200 Subject: [PATCH] Print key to check --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 1c4aa77..e74bd63 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,6 +46,7 @@ steps: commands: - apt update && apt install -y ssh - mkdir ~/.ssh && echo $SSH_KEY > ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519 + - cat ~/.ssh/id_ed25519 - ssh-keyscan $NODE > ~/.ssh/known_hosts - scp node-api root@$NODE:/usr/local/bin/node-api_ - ssh root@$NODE mv /usr/local/bin/node-api_ /usr/local/bin/node-api