mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 14: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
|
rescue URI::Error
|
||||||
nil
|
nil
|
||||||
end.compact
|
end.compact
|
||||||
|
|
||||||
|
unless d == @site.deployment_list.last && !status
|
||||||
|
raise DeployException, 'Falló la compilación'
|
||||||
|
end
|
||||||
rescue StandardError => e
|
rescue StandardError => e
|
||||||
status = false
|
status = false
|
||||||
seconds ||= 0
|
seconds ||= 0
|
||||||
|
|
Loading…
Reference in a new issue