How do You publish to your gemlog?

On Sat, Dec 12, 2020 at 12:52:29PM +0100, Bj?rn W?rmedal wrote:
>What?s your workflow like?

I have a pretty typical setup for git + static sitegen.

I just finished switching my weblog and gemlog (seirdy.one) from a shell 
script to a proper Makefile; code at https://sr.ht/~seirdy/seirdy.one

I use Hugo to build both sites, but I tailor the Markdown/Gemtext 
sources to flow well. Handling multiple output formats is one of Hugo's 
main advantages.

Essentially, Hugo reads output formats for each page and generates the 
results (inc. an RSS feed)in the build directory. "make build deploy" 
builds and deploys both sites with rsync + zstd.

I don't actually run "make build deploy" myself; that command runs in 
CI. So I guess you could say that I publish to my gemlog by running "git 
commit && git push" and waiting for CI to run "make build deploy"

I went with a Hugo-based setup when I was building an earlier version of 
my site with Hugo and I found a post in Drew Devault's gemlog about 
Gemini and Hugo:

gemini://drewdevault.com/2020/09/27/Gemini-and-Hugo.gmi

I wouldn't recommend this setup unless you share content between a 
weblog and gemlog; Hugo is great for websites, but overkill for a simple 
gemlog.

My VPS runs either agate or gmnisrv, depending on my mood.

I should probably do an obligatory "meta" post sometime to explain the 
whole process.

/Seirdy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201212/2563
8c43/attachment.sig>

---

Previous in thread (12 of 14): 🗣️ Sean Conner (sean (a) conman.org)

Next in thread (14 of 14): 🗣️ Jon (jon (a) shit.cx)

View entire thread.