Why use Cloudflare Workers for a Hugo site when they have Pages[1] that is specifically designed for static site build tools like Hugo, Jekyll, etc?
[1] https://developers.cloudflare.com/pages/framework-guides/dep...
[1] https://developers.cloudflare.com/pages/framework-guides/dep...
Presumably Pages was created because they saw a lot of people using Workers and KV for this use case.
They ARE a big cloud provider.
* build the website and produce a GHA artifact packaged as a zip or somesuch;
* invoke Pages deploy hook API endpoint;
* within cloudflare pages run a (e.g. python) script to download the artifact, decompress it and place the resulting files in the correct output directory.
Ideally these kinds of gymnastics wouldn't be necessary and it would be possible to just run something like `cfpages deploy .` but it is not absolutely impossible to get something working, either.