This blog is a Hugo site living in a GitHub repo. Every push
to main triggers a GitHub Action that SSHes into my VPS, pulls the repo, and
rebuilds the site in Docker. Caddy handles HTTPS.
Writing a post
Add a Markdown file to blog/content/posts/, set draft: false, and push.
git add blog/content/posts/my-new-post.md
git commit -m "New post"
git push
Drafts (
draft: true) are skipped when the site builds.