mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 19:36:22 +00:00
parent
3abd87e8e6
commit
1ff48bf458
1 changed files with 5 additions and 3 deletions
|
@ -69,13 +69,15 @@ class DeployJob < ApplicationJob
|
||||||
rescue DeployTimedOutException => e
|
rescue DeployTimedOutException => e
|
||||||
notify_exception e
|
notify_exception e
|
||||||
ensure
|
ensure
|
||||||
@site&.update status: 'waiting'
|
if @site.present?
|
||||||
|
@site.update status: 'waiting'
|
||||||
|
|
||||||
notify_usuaries if notify
|
notify_usuaries if notify
|
||||||
|
|
||||||
puts "\a" if @output
|
puts "\a" if @output
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
# rubocop:enable Metrics/MethodLength
|
# rubocop:enable Metrics/MethodLength
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in a new issue