So I messed up a few days ago and accidentally published a draft that got picked up by various RSS aggregators and I felt pretty dumb about it. Turns out those aggregators routinely check for dead links and suppress them, so the entry disapeared on its own after a few hours. But still, knowing myself, I'm sure it'll happen again and I'd rather avoid spamming unfinished crap into people's feeds if I can, so I started thinking about setting up some guard rails. First thing that came to mind was to use git hooks, or maybe Forgejo's equivalent to Github actions, and basically only deploy the site when articles get pushed to the remote repository. But thinking about it more, I realized that: It's way too hot to read documentation. Generating the site on a push means I would have to do it on the server. The second point is not such a big deal, but right now I'm building the site on my local machine and uploading the results via a simple rsync, and I love the simplicity of this setup. That's…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.