News for hackers. Stuff that matters.
Re:Bringing Serverless to a Web Page Near You with Hugo and ... by ldoughty on Tuesday August 20, 2019 @06:28AM (#20745331)
There are a lot better options of you like Hugo or other static site generators...

I have GitHub set up to push my merge requests to AWS Lambda. The lambda downloads the specific Hugo release I deemed to run on, generates my pages, an pushes to S3 + Cloudfront. Takes less than 10 seconds from merge to publish. No servers. No services fees. Costs $13/year (95% domain fee). Truly "serverless".

At some point I want to retry this on Gitlab, it seems to support the same flow

Re:Bringing Serverless to a Web Page Near You with Hugo and ... by icebraining on Tuesday August 20, 2019 @08:51AM (#20746340)
On Gitlab the flow is simpler, you can just add a configuration file to run Hugo on the integrated CI and pass the generated files to the hosting:

https://gohugo.io/hosting-and-deployment/hosting-on-gitlab/