Commit 9a0aa653 authored by Shinya Maeda's avatar Shinya Maeda

Execute BuildSuccessWorker after job succeeded

parent 4ffc2a71
...@@ -211,6 +211,7 @@ module Ci ...@@ -211,6 +211,7 @@ module Ci
build.deployment&.succeed build.deployment&.succeed
build.run_after_commit do build.run_after_commit do
BuildSuccessWorker.perform_async(id)
PagesWorker.perform_async(:deploy, id) if build.pages_generator? PagesWorker.perform_async(:deploy, id) if build.pages_generator?
end end
end 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