8 August 2026
My Simple Astro Publishing Flow: GitHub to Cloudflare Workers
The small deployment workflow behind this site: test Astro locally, push to GitHub and let Cloudflare build the production site.
One of my requirements for this site was simple:
Write locally, test locally, push to Git, and let the hosting platform do the rest.
The workflow is:
Astro on my local machine
↓
npm run dev
↓
npm run build
↓
Git
↓
GitHub
↓
Cloudflare Workers Build
↓
newcombe.dev
My normal publishing commands are:
npm run build
git status
git add .
git commit -m "Describe the change"
git push
Cloudflare is connected to the GitHub repository, so a push to the production branch triggers the configured build/deployment process.
This keeps the source of truth in Git and avoids manually uploading a website after every change.
It also gives me a useful separation:
Local development → experiment
Git commit → record the change
GitHub → source of truth
Cloudflare → build and hosting
For a small technical site, that is about as much deployment machinery as I want.