From 10188c19872fa234947f504d9e5b6faf6bf5a6e5 Mon Sep 17 00:00:00 2001 From: Elia Palme Date: Wed, 21 Feb 2024 12:59:17 +0100 Subject: [PATCH] Allow to deploy any branch on TDS --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe169004..7c64e2dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -196,7 +196,7 @@ tag_release: env_tags="$CI_COMMIT_TAG prod" code_tag="prod" - if [ "$is_master" == "true" ]; then + if [ "$is_master" == "true" || $CI_COMMIT_TAG =~ "dev" ]; then if [[ $CI_COMMIT_TAG =~ "dev" ]]; then env_tags="$CI_COMMIT_TAG tds" @@ -294,7 +294,7 @@ tag_release: done else - echo "The tag does not belong to master the branch"; + echo "The prod tag does not belong to master the branch"; exit 1 fi