💾 Archived View for gemini.circumlunar.space › users › parker › gemlog › automation.gmi captured on 2020-09-24 at 01:38:27. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
I can now deploy my site using one simple command. And I was only able to do this after discovering two major parts.
I recently discovered how to run a series of commands over the sftp protocol. Maybe others have figured this out already, but I only learned about it just today.
The command is quite simple:
sftp -b batchfile <URL>
"batchfile" contains a series of commands to run over sftp. Just had to type in the commands that I usually typed in by hand.
I recently got some help¹ on making an atom feed for my gemlog. Turns out solderpunk already wrote gemfeed² to automate that process. Thanks to makeworld³ for the tip! I'm probably late to the party on this one
I just took those two parts, stuffed them both into a Makefile, and now I can deploy my site by just running "make"! No more opening up a shell and remembering what commands to type, *AND* I get an atom feed as well! Today's been good.
=> https://tildegit.org/solderpunk/gemfeed ²gemfeed