mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 05:26:39 +00:00
parent
66df2a971c
commit
655edf59e1
1 changed files with 5 additions and 3 deletions
|
@ -67,11 +67,13 @@ class DeployJob < ApplicationJob
|
|||
rescue DeployTimedOutException => e
|
||||
notify_exception e
|
||||
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
|
||||
# rubocop:enable Metrics/MethodLength
|
||||
|
|
Loading…
Reference in a new issue