summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/pipeline/chain/create_deployments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/pipeline/chain/create_deployments.rb')
-rw-r--r--lib/gitlab/ci/pipeline/chain/create_deployments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/pipeline/chain/create_deployments.rb b/lib/gitlab/ci/pipeline/chain/create_deployments.rb
index a8276d84b87..99e438ddbae 100644
--- a/lib/gitlab/ci/pipeline/chain/create_deployments.rb
+++ b/lib/gitlab/ci/pipeline/chain/create_deployments.rb
@@ -6,7 +6,7 @@ module Gitlab
module Chain
class CreateDeployments < Chain::Base
def perform!
- create_deployments!
+ create_deployments! if Feature.disabled?(:move_create_deployments_to_worker, pipeline.project)
end
def break?