diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 948a2c751858cdfdde2a76d3a3fbec3220c14360..c0675d5b0b98d2741cb81d4f3d0881f4c117bbb7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -141,5 +141,5 @@ deploy: - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config script: - echo "Hello world" - - ssh contDeploy@codeability-austria -p 1022 -f "(cd /home/michael/gitsearch/src/main/docker/; GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` COMMIT_ID=`git rev-parse HEAD` SPRING_PROFILES_ACTIVE=staging,swagger docker-compose -f gitsearch.yml up -d --no-deps --build gitsearch-app)" + - ssh contDeploy@codeability-austria -p 1022 -f "(cd /home/michael/gitsearch git pull && cd src/main/docker/; GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` COMMIT_ID=`git rev-parse HEAD` SPRING_PROFILES_ACTIVE=staging,swagger docker-compose -f gitsearch.yml up -d --no-deps --build gitsearch-app)" when: manual