Skip to content

fix(site): show when Likes were last counted, not when the site was built - #338

Merged
jamesconwaydev merged 1 commit into
mainfrom
site-last-count-time
Nov 6, 2026
Merged

jamesconwaydev merged 1 commit into
mainfrom
site-last-count-time

Conversation

@jamesconwaydev

Copy link
Copy Markdown
Collaborator

The home page says "Updated live, Last count …", but the time was the build time. The site rebuilds after every successful bot run and every site change, so if Sync Likes had been failing for days, the stamp would still look fresh.

The deploy build now looks up the last successful likes.yml run (one gh run list call, actions: read on the build job) and passes it in as LIKES_AT. The page shows that. Local and PR builds have no LIKES_AT and fall back to build time, as before. A strict format check stops anything odd reaching the page.

@jamesconwaydev
jamesconwaydev merged commit 48dc410 into main Nov 6, 2026
9 checks passed
@jamesconwaydev
jamesconwaydev deleted the site-last-count-time branch November 6, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant