2 ms·
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 dow
by ldoughty 7y ago
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
- icebraining 7y agoOn 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/ https://gohugo.io/hosting-and-deployment/hosting-on-gitlab/