diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f02b93ba0d5e007635083d0404f835c76e4d7bbb..9cf7965d4c1029639c5e4c94c05944f8d83993a6 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: