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