summaryrefslogtreecommitdiff
path: root/posts/buildablog-v2.md
blob: c19a78e41a1ac6545797fd1298afa4f8f1f4610e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
+++
title = "Buildablog v2"
summary = """

Here I describe a major upgrade to the Buildablog project — posts are
now served from the current HEAD of the blog repo, thanks to
go-git.

"""

date = 2026-03-12
tags = ["go", "buildablog"]

+++

# I Finally Did It

This post is how I solved a problem raised in [a previous
post](/posts/2026-03-06). There, I had left things halfway: I had only installed some
infrastructure, in the form of Cgit, that was partially
suggestive of a solution.  

Here, I document how I finally leveraged that piece as part of a
*full* solution to the problem.  

Previously, the steps for updating my blog's content had been:  

1. Commit all changes.
2. Push the changes to GitHub.
3. Log in via SSH into my VPS.
4. Perform a `cd` into the `brandons_blog` directory, and run `git
   pull`.

Now, they're simply:  

1. Commit all changes.
2. Push to `https://git.brandonirizarry.xyz/brandons_blog`.

# `go-git`