← Writing

Publishing this site from my terminal

How a post goes from an Obsidian note to the live site with a single push.

This site has no CMS, no admin panel, and no login screen. A post is just a Markdown file. I write it in Obsidian, commit it, and push — and a minute later it's live.

The whole pipeline

The flow is deliberately boring, which is what makes it reliable:

# write the post in Obsidian (a .mdx file in content/posts)
git add content/posts/my-new-post.mdx
git commit -m "post: my new post"
git push

That push is the only deploy step. Vercel watches the GitHub repository, rebuilds the site, and ships it to a global CDN. No FTP, no copy-paste, no dashboard.

Frontmatter is the contract

Every post starts with a small block of metadata. The site reads it to build the index, the date, and the tags:

---
title: "Publishing this site from my terminal"
date: "2026-05-29"
summary: "How a post goes from an Obsidian note to the live site."
tags: ["workflow", "obsidian", "vercel"]
---

Eventually this becomes a one-word command — publish — that wraps the three git steps above. Until then, three lines in a terminal is a perfectly good ritual.