mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 14:46:21 +00:00
Merge branch 'informative-deploys' into panel.sutty.nl
This commit is contained in:
commit
424f93fe36
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class DeployJob < ApplicationJob
|
||||||
deploy_local: {
|
deploy_local: {
|
||||||
status: deploy_locally,
|
status: deploy_locally,
|
||||||
seconds: deploy_local.build_stats.last.seconds,
|
seconds: deploy_local.build_stats.last.seconds,
|
||||||
size: deploy_local.build_stats.last.size,
|
size: deploy_local.size,
|
||||||
url: deploy_local.url
|
url: deploy_local.url
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ class DeployJob < ApplicationJob
|
||||||
@deployed[d.type.underscore.to_sym] = {
|
@deployed[d.type.underscore.to_sym] = {
|
||||||
status: status,
|
status: status,
|
||||||
seconds: build_stat.try(:seconds) || 0,
|
seconds: build_stat.try(:seconds) || 0,
|
||||||
size: build_stat.try(:size) || 0,
|
size: d.size,
|
||||||
url: d.url
|
url: d.url
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue