From 8b892b5222387f6f923dd9fb3995ca76d9b99f5b Mon Sep 17 00:00:00 2001
From: Sylvester Joosten <sjoosten@anl.gov>
Date: Mon, 14 Jun 2021 17:01:11 +0000
Subject: [PATCH] ensure juggler is triggered on nightly builds

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f02b93ba0..9cf7965d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,9 @@ variables:
   DOCKER_NTRIES: 5
   DOCKER_WAIT_TIME: 5
 
+  ## is this nightly or not?
+  NIGHTLY: 0
+
 stages:
   - config
   - build:base      ## base OS image
@@ -287,7 +290,7 @@ jug_xl:singularity:nightly:
 juggler:master:
   stage: deploy
   rules:
-    - if: '$NIGHTLY == "0" && $CI_COMMIT_BRANCH == "master"'
+    - if: '$NIGHTLY != "0" && $CI_COMMIT_BRANCH == "master"'
       when: on_success
     - when: never
   needs:
-- 
GitLab