Skip to content

Commit ab29fb8

Browse files
committed
feat: exclude deploy on prod with debug on
1 parent 7a3e1a7 commit ab29fb8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitlab-ci.yml.jinja

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ deploy.botsprod:
160160
only:
161161
# Note the bots-prod worker requires branch to be protected
162162
- master
163+
except:
164+
variables:
165+
- $DEBUG =~ /^(?i)true$/
166+
- $DEBUG == "1"
163167
when: manual
164168
environment:
165169
name: production

0 commit comments

Comments
 (0)