On every push to main, .github/workflows/publish-devblog.yml runs .github/scripts/generate-devblog.mjs which:

  • Reads the new commits in the push range
  • Generates a markdown blog post per commit (skipping merge commits and commits prefixed [skip-blog])
  • Writes to devblog-posts/YYYY-MM-DD-.md
  • Front matter matches the Astro site’s blog collection schema
  • Commits back as [skip-blog] so the bot doesn’t recursively trigger

The Astro site’s scripts/sync-devblog.mjs (in the aiapocgame repo) pulls these files via GitHub raw URLs on prebuild, and the /news.json endpoint serves them to the game’s main-menu News panel.

devblog-posts/ backfilled with 5 posts covering the most recent commits (audio/art pipeline, save/load+Act 3, HP/push bugfixes, anti-debuff cards + sci-fi names, enemy abilities + upgrades).


Commit 18194cc by astafford8488.