diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-06-06 19:09:46 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-06-06 19:09:46 +0200 |
commit | 78ae23045bae8a75775a11675afd5836fb8f318b (patch) | |
tree | 831f45fdbab4c639703ddde20c6fb1a6affef736 /app/models/project_auto_devops.rb | |
parent | 9738b0a42bdfca5b8fbf0a0ef2ade4d46be38c75 (diff) | |
download | gitlab-ce-78ae23045bae8a75775a11675afd5836fb8f318b.tar.gz |
Reverse logic of manual and continuous deploy strategies
Diffstat (limited to 'app/models/project_auto_devops.rb')
-rw-r--r-- | app/models/project_auto_devops.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_auto_devops.rb b/app/models/project_auto_devops.rb index 3c468831e91..ed0428615a2 100644 --- a/app/models/project_auto_devops.rb +++ b/app/models/project_auto_devops.rb @@ -26,7 +26,7 @@ class ProjectAutoDevops < ActiveRecord::Base value: domain.presence || instance_domain) end - if continuous? + if manual? variables.append(key: 'STAGING_ENABLED', value: 1) variables.append(key: 'INCREMENTAL_ROLLOUT_ENABLED', value: 1) end |