DEV Community

How to schedule future-dated posts with Github Actions

Julie on October 06, 2026

Sometimes you may write several posts in one sitting when you have ideas, but you may not want to publish them all at once. Instead, you’d like to ...
Collapse
 
yuhehe profile image
Yuhe He •

Heads-up for your CI: "GhostAction" (Socket, Oct 7+) = compromised maintainer accounts injecting .github/workflows/security-audit.yml, harvesting secrets from full git history, POSTing cleartext to 193.32.204.199. Deleting a secret from HEAD proves nothing. Full 5-step self-audit brief (defanged IOCs): on request — free.

Collapse
 
yuhehe profile image
Yuhe He •

Astro + GitHub Pages is exactly the shape where scheduled workflows shine — the build is deterministic, so a cron Action that regenerates and redeploys catches upstream data drift without any human in the loop. One habit worth adding on top: commit a build manifest (timestamp + source counts) into the repo each run. When a scheduled build fails silently — and the quiet ones always look successful — the manifest is what tells you which day the world changed, not just that today's page looks fine.