5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-29 22:16:22 +00:00

Merge branch 'informative-deploys' into panel.sutty.nl

This commit is contained in:
f 2022-04-06 20:52:06 -03:00
commit 424f93fe36

View file

@ -33,7 +33,7 @@ class DeployJob < ApplicationJob
deploy_local: {
status: deploy_locally,
seconds: deploy_local.build_stats.last.seconds,
size: deploy_local.build_stats.last.size,
size: deploy_local.size,
url: deploy_local.url
}
}
@ -75,7 +75,7 @@ class DeployJob < ApplicationJob
@deployed[d.type.underscore.to_sym] = {
status: status,
seconds: build_stat.try(:seconds) || 0,
size: build_stat.try(:size) || 0,
size: d.size,
url: d.url
}
end