fix(ops): don't imply the current sha was itself deployed

A non-site-only skip advances the recorded sha without a production deploy,
so 'deployed Nm ago' could read as if that sha was deployed. Say 'last
production deploy Nm ago' instead.
This commit is contained in:
SkateSpots 2026-10-01 10:42:51 +07:00
parent 50fcb419f4
commit b6cc7797e6

View file

@ -121,7 +121,7 @@ case "$last_epoch" in ''|*[!0-9]*) last_epoch=0 ;; esac
if [ "$deployed" = "$origin" ] && [ "$origin" != "none" ]; then
if [ "$last_epoch" -gt 0 ]; then
p " ${G}✓${N} live is current (${origin:0:9}), deployed $(human_age $((now - last_epoch))) ago"
p " ${G}✓${N} live is current (${origin:0:9}) — last production deploy $(human_age $((now - last_epoch))) ago"
else
p " ${G}✓${N} live is current (${origin:0:9})"
fi