diff options
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index e92af46..11b61d4 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -132,7 +132,7 @@ class Commit < ActiveRecord::Base @retried_builds ||= (builds - builds_without_retry) end - def run_deploy_job(ref) + def create_deploy_builds(ref) if success? && !last_build.job.deploy? project.jobs.deploy.active.each do |job| if job.run_for_ref?(ref) |