diff --git a/.drone.yml b/.drone.yml index 794db1a..d3f22ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,12 +55,20 @@ steps: -i ~/.ssh/deploy_key "$SSH_USER@$SSH_HOST" ps:stop social + - ssh -o StrictHostKeyChecking=no + -i ~/.ssh/deploy_key + "$SSH_USER@$SSH_HOST" + ps:scale social web=0 - ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key "$SSH_USER@$SSH_HOST" git:from-image social "glenux/service-gotosocial:${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}" # + - ssh -o StrictHostKeyChecking=no + -i ~/.ssh/deploy_key + "$SSH_USER@$SSH_HOST" + ps:scale social web=1 - echo "SUCCESS" # volumes: diff --git a/Dockerfile b/Dockerfile index a7c81e8..3b08328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ # FROM superseriousbusiness/gotosocial:0.15.0 # FROM superseriousbusiness/gotosocial:0.16.0 # FROM superseriousbusiness/gotosocial:0.17.0 -FROM superseriousbusiness/gotosocial:0.17.3 +FROM superseriousbusiness/gotosocial:0.17.4