From af1f1f46c32694d86983135935756d6ee27af66c Mon Sep 17 00:00:00 2001 From: Yegor Kutuzov Date: Thu, 14 Mar 2024 15:46:53 +0300 Subject: [PATCH] feat: exclude deploy on prod with debug on --- {% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja b/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja index 5961c16..fff00e0 100644 --- a/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja +++ b/{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja @@ -181,6 +181,10 @@ deploy.botsprod: only: # Note the bots-prod worker requires branch to be protected - master + except: + variables: + - $DEBUG =~ /^(?i)true$/ + - $DEBUG == "1" when: manual environment: name: production