Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e44dc1e authored by Arnau Vàzquez's avatar Arnau Vàzquez
Browse files

Remove sudo as ansible is now on docker group

parent 72fa49ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ build:
  script:
    - echo "Deploying to $CI_ENVIRONMENT_NAME ($DEPLOYMENT_HOST)"
    # $CI_COMMIT_BRANCH
    - ssh $SSH_USER@$DEPLOYMENT_HOST "cd ${DEPLOYMENT_PATH} && sudo docker-compose pull && sudo docker-compose up -d && sudo docker-compose restart nginx"
    - ssh $SSH_USER@$DEPLOYMENT_HOST "cd ${DEPLOYMENT_PATH} && docker-compose pull && docker-compose up -d && docker-compose restart nginx"

deploy:staging:
  extends: .deploy:image