diff --git a/.drone.yml b/.drone.yml index 318b8c7..2aefef0 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_key && chmod 600 ~/.ssh/id_key + - ssh-keyscan rosti-node-x > ~/.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 - ssh root@$NODE systemctl restart node-api