Commit 4e934259 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix typo in build success worker for deployment

parent 5fd635d1
...@@ -6,13 +6,13 @@ class BuildSuccessWorker ...@@ -6,13 +6,13 @@ class BuildSuccessWorker
Ci::Build.find_by(id: build_id).try do |build| Ci::Build.find_by(id: build_id).try do |build|
return unless build.project return unless build.project
create_deloyment(build) create_deployment(build)
end end
end end
private private
def create_deloyment(build) def create_deployment(build)
return if build.environment.blank? return if build.environment.blank?
service = CreateDeploymentService.new( service = CreateDeploymentService.new(
......
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