GitHub Pages + Actions = free CI/CD

11/11/2025

TLDR: I built a mini CI/CD pipeline for my blog, GitHub pages make it easy to verify ownership than a regular domain by simplifying adding an HTML file to your repo, GitHub actions are like a built in zapier for more things than you can imagine, and usually there are already scripts for something you need if you ask Claude.

When creating sites on builders like GitHub pages, you will need to add your own index.html and sitemap.xml files.

How it works:

  1. Add new HTML file to /blog folder (like this → blog/new-post.html)
  2. Update blog/index.html file to add the new link
  3. Commit/push to GitHub
  4. Github action triggers automatically (changed in /blog)
  5. Action scans your /blog folder for all html files
  6. Action regenerates sitemap.xml with all blog posts
  7. Action commits the updated sitemap
  8. Action pings Google “Hey, sitemap is updated, come index!”
  9. Google crawls site within 24/48 hrs

My workflow

  1. Take physical notes
  2. Write blog post (conversion process done from markdown to html*)
  3. Update blog index file
  4. Commit/push to github → live and new sitemap submitted to Google

Conversion from raw notes to blog
The italicized steps will be automated next and consolidated in my next update

  1. Write out written notes in Google Doc file
  2. Save/export as .md (markdown)
  3. Open .md to see/edit (i’m a micromanager of my processes)
  4. Copy html & add new html file to blog folder in Github

What happens when something breaks?
Glad you asked…it's simple.

  1. Check “Actions” tab in my GitHub repo
  2. Look for error messages

Back to Blog