5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 20:36:22 +00:00

Merge branch 'issue-13628' into 17.3.alpine.panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-06-15 19:03:04 -03:00
commit e63c769bf5

View file

@ -52,7 +52,12 @@ class DeployDistributedPress < Deploy
end end
end end
begin
status = c.publish(publishing_site, deploy_local.destination) status = c.publish(publishing_site, deploy_local.destination)
rescue DistributedPress::V1::Error => e
ExceptionNotifier.notify_exception(e, data: { site: site.name })
status = false
end
if status if status
self.remote_info[:distributed_press] = c.show(publishing_site).to_h self.remote_info[:distributed_press] = c.show(publishing_site).to_h