Posted on 7th May 2026 at 10:30 by Millie
Deployment
Nearly all sites will be deployed by pushing the local Git to the matching GitHub repo.
This triggers a build by Cloudflare and automatic deployment.
This is the only use of the GitHub repo.
The exception is Astro sites connected to headless local WP sites. eg astro-local.
These are deployed by % npm run deploy, and there is no need for a GitHub repo.
Git log
When sorting out the RSS feed for astro-wpress I had to make many small commits and pushes. I thought about squashing the local Git log to tidy it up, but because the Cloudflare build log matches the pushes, and is immutable, it’s best to keep all the local commits, so local → GitHub → Cloudflare remain 1:1