From 222903a0feee9c8c6289f15be183ddf1f594d73d Mon Sep 17 00:00:00 2001 From: glenux Date: Sat, 27 Apr 2024 18:59:08 +0000 Subject: [PATCH] Update .drone.yml --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 49980d8..76c11bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -90,13 +90,13 @@ steps: ssh -o StrictHostKeyChecking=no \ -i ~/.ssh/deploy_key \ "$SSH_USER@$SSH_HOST" \ - ps:stop code + git:from-image code \ + "glenux/service-forgejo:${DRONE_COMMIT_SHA:0:8}" - | ssh -o StrictHostKeyChecking=no \ -i ~/.ssh/deploy_key \ "$SSH_USER@$SSH_HOST" \ - git:from-image code \ - "glenux/service-forgejo:${DRONE_COMMIT_SHA:0:8}" + ps:stop code # volumes: # - name: cache