Note from
Halfway during my Indiekit setup, I decided to use this opportunity to start using Codeberg with Gitea plugin as my content store, instead of staying on GitHub. Although I have moved all my blog source code and CI to SourceHut already in 2025, I want to start using Codeberg as my main Git host (Gitea/Forgejo has a lot more integration support than SourceHut).
Using Codeberg for the first time was pretty painless compared to learning SourceHut; it looks and feels similar to GitHub. I did unfortunately experienced, two nights in a row, of Codeberg server downtime, but both lasted less than 30m I’d say, so it wasn’t too worrying. I think it will only get better as Codeberg gets more popular from #GiveupGithub movement.
Getting back to Indiekit—having the content store (the place where Indiekit Markdown files are stored) separate from my Hugo source code meant I had to figure out a way to get the .md files from Codeberg > SourceHut.
I worked out a relatively simple way of doing it in both CI and local without using Git Submodules or Git Subtree (which was a bit confusing). This note will test if it is working in SourceHut Builds CI! Sorting this last hurdle means I will be able to start writing my guide!