From 35746d98e7360781dbdbe4de2c2b61b17f5622d6 Mon Sep 17 00:00:00 2001 From: Malte Vogl Date: Wed, 3 Jan 2018 13:15:17 +0100 Subject: [PATCH] force head to origin/master --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb42024..1e587b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ deploy: <<: *deploy stage: deploy script: - - ssh -t cloud@$DEPLOYHOST "export ADMIN_PWD=$DJANGO_ADMIN_PWD && cd django/eoa-django-test && git pull && sh scripts/start_deploy.sh " + - ssh -t cloud@$DEPLOYHOST "export ADMIN_PWD=$DJANGO_ADMIN_PWD && cd django/eoa-django-test && git fetch --all && git reset --hard origin/master && sh scripts/start_deploy.sh " environment: name: production url: http://141.5.105.187:8000/publications/studies/312/index.html