My Blog Stack
Dec 9, 2020
This blog is written in Hugo and deployed to Google App Engine as a static site. “Whoa whoa whoa” you might say, a static site? Sure. App Engine handlers are basically nginx listeners and you can specify static content, default index.html, etc, so why not? You don’t have to define a script endpoint at all even and I’d argue it’s actually easier to get a static site up and running here than it is to use a bucket with an endpoint and a load balancer. Plus, I get all the other stuff that comes with App Engine when and if I need it, without having to move anything.
So, the blog lives in a Google Source Repository and commits trigger a Code Build operation that downloads Hugo, git pulls the latest version of the blog, builds the blog, then gcloud’s it to App Engine. Here’s the cloudbuild.yaml config for those that might be interested in doing something similar.
|
|