From 36da5352f21a1a7b5bdbdf1dad43d593348634aa Mon Sep 17 00:00:00 2001
From: Fabian Gabel <fabian.gabel@tuhh.de>
Date: Tue, 4 May 2021 12:32:19 +0200
Subject: [PATCH] adapt rules for rsync job

---
 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ebc912..349a983 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -364,11 +364,8 @@ rsync-tuhh-deploy:
     paths:
       - public-tuhh
   rules:
-    - if: $CI_PROJECT_URL != 'https://collaborating.tuhh.de/cfg0846/research-topics-mat-tuhh'
-      when: never
-    - if: $CI_COMMIT_BRANCH == '40-tuhh-deployment'
-      when: always
-
+    - if: $CI_MERGE_REQUEST_ID
+    - if: $CI_COMMIT_BRANCH
 
 # uncomment for manual stopping
 #stop_review_app:
-- 
GitLab