Commit 70fbb3d4 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Merge branch '25344-fire-webhook-on-new-deployment-3' into 'master'

Enable deployment_webhooks feature flag

Closes #25344

See merge request gitlab-org/gitlab!39449
parents a8e2d07a 6c0d74b9
......@@ -148,7 +148,7 @@ class Deployment < ApplicationRecord
def execute_hooks
deployment_data = Gitlab::DataBuilder::Deployment.build(self)
project.execute_hooks(deployment_data, :deployment_hooks) if Feature.enabled?(:deployment_webhooks, project)
project.execute_hooks(deployment_data, :deployment_hooks) if Feature.enabled?(:deployment_webhooks, project, default_enabled: true)
project.execute_services(deployment_data, :deployment_hooks)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment