Print key to check
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Adam Štrauch 2021-10-26 23:46:21 +02:00
parent 5ba061895b
commit b534ee7c05
Signed by: cx
GPG Key ID: 018304FFA8988F8D
1 changed files with 1 additions and 0 deletions

View File

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