From c1c1b6d61d368da05587ce45a8a717c9b28399de Mon Sep 17 00:00:00 2001
From: Eduard Frankford <e.frankford@student.uibk.ac.at>
Date: Sat, 21 May 2022 18:16:58 +0200
Subject: [PATCH] test

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 50c49f7f9..14756da2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -130,7 +130,7 @@ deploy:
   stage: deploy
   # dependencies:
   #   - 'docker-push'
-  before_script:
+  script:
     - apt-get update -qy
     - apt-get install -y rsync openssh-client
     - mkdir -p ~/.ssh
@@ -139,7 +139,6 @@ deploy:
     - eval "$(ssh-agent -s)"
     - ssh-add ~/.ssh/id_rsa
     - 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 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: always
-- 
GitLab