Hosting a Hugo site on a Cloudflare Worker

Item Provider Dart Sass installation time
1 Cloudflare Worker 1 second
2 GitHub Pages 1 second
3 GitLab Pages 1 second
4 Netlify 1 second
5 Render 1 second
6 Vercel 1 second

And when I write 1 second, what I really mean is less than 1 second. The build times were extracted from build logs from last night.

Our published guides for items 2-6 give you the same level of control as our guide for item 1.

@jmooring CF Workers now support deploy hooks. I assume this workflow becomes obsolete? Gemini AI suggests setting a cron in wrangler.toml and creating a worker.js file, but I am unsure if that will work.

Please try it and report your findings.

I saw it was a hectic thing. I went with a cron-job.org account.

Looks like it’s not even fully public yet. I can see it in the API under the hood long before it started showing up in the dashboard or website. Documentation shipped a little early. But I now see the deploy hook method in the build settings.