Skip to content
Snippets Groups Projects
Commit 4e934259 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix typo in build success worker for deployment

parent 5fd635d1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -6,13 +6,13 @@ def perform(build_id)
Ci::Build.find_by(id: build_id).try do |build|
return unless build.project
 
create_deloyment(build)
create_deployment(build)
end
end
 
private
 
def create_deloyment(build)
def create_deployment(build)
return if build.environment.blank?
 
service = CreateDeploymentService.new(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment