Deploying Hugo to Deno Deploy

Deno Deploy is an interesting and inexpensive service, and it turns out, you can host your Hugo sites there. I’ve only just got it working so I’m not sure of all the caveats etc, but you can read the linked gist here if you would like to give it a go:

Deploy Hugo to Deno Deploy via Github Actions

Edit: updated the gist to show how to wrap with a local typescript file, so you can set security headers

3 Likes