Multi Repo Content Pipeline

May 31, 2025 (2mo ago)

I Just Wanted to Write Blogs - Not Trigger a Full Rebuild Every Time

Me internally when my site rebuilt for a typo fix

Problem

All I wanted was to write my notes and blogs - a lot of them.
But every time I pushed a post, my site:

So I did what any dev would do:
Over-engineer a solution that’s cooler than necessary.


Enter: The Two-Repo Setup

I split my site into two worlds:

One for content
One for the portfolio code

Why? Because:


The Sync Flow

Here's how it works:

  1. I write .mdx posts in a separate content repo
  2. A GitHub Action:
    • Copies the new posts into the deployed site repo
    • Pushes them into a folder (synced-content/)
    • Tells the site: "Yo, revalidate just this one path"

No full rebuilds.
No heavy CMS.
Instant content updates.


🤓 It Gets Nerdier


Why This Works So Well

MDX Vibes


What I Learned


Final Thoughts

This isn't just about blogs.
This is about developer ownership - building things that feel yours.

If you're tired of rebuilding or paying for CMSs you barely use:
Use Git. Use ISR. Geek out.