From d5447b03488e5c3fea5576e543c4166e3d4eb1db Mon Sep 17 00:00:00 2001
From: Reto Gerber <reto.gerber@uzh.ch>
Date: Wed, 23 Jun 2021 12:49:46 +0000
Subject: [PATCH] Update .gitlab-ci.yml file to run on gitlab.uzh.ch

---
 .gitlab-ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a6a40948..7bbc7e8a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,10 +30,12 @@ retrieve_data:
     name: $CI_REGISTRY_IMAGE:latest
     entrypoint: [""]
   only:
-    - schedules
-    - web
-    - triggers
-    - pushes
+    variables:
+      - $CI_PROJECT_URL == "https://gitlab.uzh.ch/retogerber/metrics-collect"
+    #- schedules
+    #- web
+    #- triggers
+    #- pushes
   before_script:
     - echo ${CI_PROJECT_NAME}
     - echo ${CI_COMMIT_BRANCH}
-- 
GitLab