diff --git a/.drone.yml b/.drone.yml index 2f9ff02..29b3659 100644 --- a/.drone.yml +++ b/.drone.yml @@ -83,17 +83,16 @@ 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" \ + - ssh -o StrictHostKeyChecking=no + -i ~/.ssh/deploy_key + "$SSH_USER@$SSH_HOST" ps:stop social - - | - ssh -o StrictHostKeyChecking=no \ - -i ~/.ssh/deploy_key \ - "$SSH_USER@$SSH_HOST" \ - git:from-image social \ + - ssh -o StrictHostKeyChecking=no + -i ~/.ssh/deploy_key + "$SSH_USER@$SSH_HOST" + git:from-image social "glenux/service-gotosocial:${DRONE_COMMIT_SHA:0:8}" + # - echo "SUCCESS" # volumes: