My hugo-deploy: A Simple Script That Keeps My Blog Running
Why This Script Exists Every time I write a new blog post, Hugo has to rebuild the entire site. That means recompiling all the markdown, regenerating all the HTML, copying files to the web root where nginx can serve them, and fixing Linux file permissions so nginx can actually read them. Doing all that manually is tedious. Running separate commands every time is error-prone. I wanted one command that does everything. ...