From b209298e667ac868097bebd1a083327677794d03 Mon Sep 17 00:00:00 2001 From: Eleni Mathioulaki <emathioulaki@athenarc.gr> Date: Sat, 23 Sep 2023 15:49:30 +0200 Subject: [PATCH] make release branch regex more specific --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f765299..87dd173f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,7 @@ deploy-prod-release-prod-cscs: RELEASE_NAME: EBRAINS-23.06 resource_group: shared-NFS-mount-prod-cscs rules: - - if: $CI_COMMIT_BRANCH =~ /ebrains/ + - if: $CI_COMMIT_BRANCH =~ /^ebrains/ when: manual # Deploy the production release of tools (manual pipeline) @@ -94,7 +94,7 @@ deploy-prod-release-prod-jsc: RELEASE_NAME: EBRAINS-23.06 resource_group: shared-NFS-mount-prod-jsc rules: - - if: $CI_COMMIT_BRANCH =~ /ebrains/ + - if: $CI_COMMIT_BRANCH =~ /^ebrains/ when: manual # Deploy the experimental release of tools (sheduled pipeline) -- GitLab