mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 10:31:42 +00:00
fix: notificar cuando falla la última compilación #14555
This commit is contained in:
parent
b96363a59f
commit
9709f419ca
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ class DeployJob < ApplicationJob
|
|||
rescue URI::Error
|
||||
nil
|
||||
end.compact
|
||||
|
||||
unless d == @site.deployment_list.last && !status
|
||||
raise DeployException, 'Falló la compilación'
|
||||
end
|
||||
rescue StandardError => e
|
||||
status = false
|
||||
seconds ||= 0
|
||||
|
|
Loading…
Reference in a new issue