Run the star chart workflow every 4 hours

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 14:19:47 +00:00
co-authored by Claude Opus 5.5
parent 6885f98046
commit b794d2037a
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
name: stars
on:
schedule:
# Every ~2.5h (cron can't do half hours, so two interleaved 5-hour schedules)
- cron: '17 0-23/5 * * *'
- cron: '47 2-23/5 * * *'
# Every 4h
- cron: '17 */4 * * *'
workflow_dispatch:
permissions:
contents: write
+1 -1
View File
@@ -168,7 +168,7 @@ ${isoStar(ex, ey, S)}
`
}
// Only redraw when the star count or the UTC day changes, so the hourly job doesn't commit (and deploy) every run
// Only redraw when the star count or the UTC day changes, so the scheduled job doesn't commit (and deploy) every run
const key = (stars, now) => `${stars.length}@${date(now)}`
export { svg, markers }