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
"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.
=> ¹Email that helped me out | ²gemfeed | ³makeworld's site This content has been proxied by September (3851b).Proxy Information
text/gemini; lang=en