Skip to content

Commit

Permalink
Allow to deploy any branch on TDS
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Palme committed Feb 21, 2024
1 parent 61e4a62 commit 10188c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 10188c1

Please sign in to comment.