News for hackers. Stuff that matters.
Re:Why I left Medium and moved back to my own domain by computerex on Sunday July 30, 2017 @01:51PM (#14887023)
I use Hugo with Digital Ocean and GitHub. Simple nodejs express script is running via PM2 and is listening for GitHub messages and serving as a webhook. Whenever I push to the site repo on GitHub, the webhook fires, which fires the build script, which does a git pull and executes the hugo command to rebuild the site.

It's a delightful experience.

Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @05:09PM (#14887840)
That build process can be done using TravisCI for free, provided the GitHub repository containing your Hugo base is public (and why wouldn't it be?) This removes the need for that Droplet and its associated cost.
Re:Why I left Medium and moved back to my own domain by computerex on Monday July 31, 2017 @09:19AM (#14891632)
Nice, good to know. I'll use Travis in the future for some side projects. But for my site/blog I think I'll stick to using my current droplet because I currently have no build time delay, and hugo is very fast. As soon as the push to github is complete, I just refresh my browser and the changes are in. With Travis it appears all open source projects share the same build queue so it can take minutes for the changes to take effect.
Re:Why I left Medium and moved back to my own domain by movedx on Tuesday August 01, 2017 @06:35PM (#14906099)
That's fair enough.