Skip to content
Blog post thumbnail: Scheduled Publishing with GitHub Actions Every 3 Hours - Solve two challenges at once on a static blog: scheduled publishing and Cloudflare build limits. Run GitHub Actions publish checks every 3 hours and trigger builds only when needed. (https://www.codeslog.com/en/posts/github-actions-scheduled-publish-check/)

Scheduled Publishing with GitHub Actions Every 3 Hours

Introduction When running a static blog, “scheduled publishing” and “build limits” often become problems at the same time. In particular, building on every commit can easily hit build limits on platforms like Cloudflare Pages. In this post, I’ll walk you through the approach I’m actually using: running a publish check with GitHub Actions every 3 hours to handle scheduled publishing. The key idea is “check only at set intervals, and publish only when needed.” ...