All posts
·1 min read·Web, Cloudflare

How this site is built and deployed

A static Vue site, Markdown content, and a push-to-deploy pipeline on Cloudflare Pages — no servers, no database, no monthly bill.

On this page
  1. Pages are rendered at build time
  2. Content is just Markdown
  3. Push to deploy
  4. What it costs

I wanted a personal site that costs nothing to run, deploys itself, and gives every project and post its own page. Here's how it works.

Pages are rendered at build time

The site is a Vue 3 app, but visitors never wait for JavaScript to draw the page. At build time, vite-ssg renders every route — the home page, each case study, each post — to its own HTML file. The browser gets finished HTML, and Vue takes over afterwards for navigation and animation.

That matters for more than speed. Search engines and link previews on LinkedIn or Slack read the HTML directly, so every page shows up with its own title, description, and content.

Content is just Markdown

Each blog post and case study is a Markdown file in the repository with a small header:

---
title: How this site is built and deployed
date: 2026-11-21
description: A static Vue site, Markdown content, and push-to-deploy.
tags: [Web, Cloudflare]
---

A small Vite plugin turns each file into HTML at build time, with syntax highlighting for code blocks. Publishing a post means adding a file and pushing.

Push to deploy

The repository is connected to Cloudflare Pages. Every push to main triggers a build and deploys the result to Cloudflare's network, usually in about a minute. Every other branch gets its own preview URL, so I can review a change on the real infrastructure before it goes live.

The build also generates a sitemap.xml and an RSS feed from the same Markdown files, so they never drift out of date.

What it costs

Nothing. Cloudflare Pages hosts static sites for free, and with no server or database there's nothing to patch, scale, or pay for. The contact form posts to a form-forwarding service, which keeps it static too.