diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b28b8039ee1b22b50fef92bb0140a6846d1225db..5dae0608b7d2e3574bc6b5b10dd5d91c3f7f5085 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,13 @@
image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
+
+workflow:
+ rules:
+ - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+ - if: '$CI_PIPELINE_SOURCE == "web"'
+ - if: '$CI_PIPELINE_SOURCE == "webide"'
+ - if: '$CI_COMMIT_BRANCH == "master"'
+ - if: '$CI_COMMIT_TAG'
+
default:
before_script:
- ls -lrth && pwd
@@ -27,8 +36,8 @@ stages:
common:variables:
stage: config0
- #rules:
- # - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
+ rules:
+ - if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
script:
- |
echo " CI_PIPELINE_SOURCE = ${CI_PIPELINE_SOURCE}"