Skip to content

Commit af1f1f4

Browse files
committed
feat: exclude deploy on prod with debug on
1 parent 0bb3a60 commit af1f1f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

{% if from_ccsteam %}.gitlab-ci.yml{% endif %}.jinja

+4
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ deploy.botsprod:
181181
only:
182182
# Note the bots-prod worker requires branch to be protected
183183
- master
184+
except:
185+
variables:
186+
- $DEBUG =~ /^(?i)true$/
187+
- $DEBUG == "1"
184188
when: manual
185189
environment:
186190
name: production

0 commit comments

Comments
 (0)