@@ 0,0 1,33 @@
title: Now deployed from builds.sr.ht
tags: [blogging, sourcehut]
This site got yet another overhaul and as I was looking at updating the Jekyll
installation on my server I had another idea: Why not use
[builds.sr.ht](https://builds.sr.ht) to build and deploy the site? So that's
exactly what I did.
I'll be upfront: [sr.ht](https://sr.ht) is awesome. The guy who runs it — [Drew
DeVault](https://drewdevault.com) — is also pretty awesome. You should check out
the work he does. In fact, the new layout of this site is heavily inspired by
Using builds.sr.ht is pretty simple:
- Put a `.build.yml` file in the root of the repository
- Read the documentation [^buildssrht-docs] on how to write build manifests
- Setup a non-privileged SSH user on the server that hosts your site (I called
the user `deploy`)
- Setup an SSH key as a secret to allow this `deploy` user to push the new
build to the server
Or if you're really lazy, simply [find a
that already does what you want.
The result is [here](https://git.sr.ht/~laumann/laumann.xyz/tree/master/.build.yml).
[^buildssrht-docs]: [builds.sr.ht docs](https://man.sr.ht/builds.sr.ht/)