From ba9df8a386d0569a72718c94cb04143726036e4a Mon Sep 17 00:00:00 2001 From: glenux Date: Sat, 27 Apr 2024 18:34:30 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 05d8977..49980d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -86,6 +86,11 @@ steps: - mkdir -p ~/.ssh && chmod 700 ~/.ssh - echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key - chmod 600 ~/.ssh/deploy_key + - | + ssh -o StrictHostKeyChecking=no \ + -i ~/.ssh/deploy_key \ + "$SSH_USER@$SSH_HOST" \ + ps:stop code - | ssh -o StrictHostKeyChecking=no \ -i ~/.ssh/deploy_key \