How do You publish to your gemlog?
Rohan Kumar
seirdy at seirdy.one
Sun Dec 13 06:15:26 GMT 2020
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/25638c43/attachment.sig>
More information about the Gemini
mailing list