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:
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