Deploying Hugo on Cloudflare Pages and Workers

Overview We moved the Vel Tech Blog to Cloudflare Pages so that Hugo builds run on Cloudflare’s infrastructure and the published site sits behind their global CDN. The final architecture has three layers: Hugo generates the static HTML in CI. Cloudflare Pages serves production and preview deployments. Cloudflare Workers sit in front to add caching rules, redirects, and optional API endpoints. This post walks through each step, the exact commands we ran, and the rationale behind the settings so you can reproduce or adapt the workflow. ...

January 24, 2026 · 4 min · 708 words · Vel Tech