app/controllers/overlay/github_controller.rb in overlay-1.0 vs app/controllers/overlay/github_controller.rb in overlay-1.0.1
- old
+ new
@@ -8,10 +8,10 @@
Overlay.configuration.repositories.each do |repo_config|
next unless repo_config.class == GithubRepo
branch = repo_config[:branch] || 'master'
if (params[:repository] && params[:ref])
if (params[:repository][:name] == repo_config[:repo]) && (params[:ref] == "refs/heads/#{branch}")
- Overlay::GithubJob.new.async.perform repo_config
+ Overlay::Github.process_overlays
end
end
end
end
end