Deploy a static or Vite site to Cloudflare Workers with static assets from GitHub, with automatic builds and a free workers.dev URL.
Put my static site on Cloudflare from GitHub
How it works
- Open Workers & Pages: Vovy opens the Cloudflare dashboard, then Workers & Pages, and clicks Create. You sign in yourself if prompted.
- Import your GitHub repo: Vovy connects GitHub and picks your repo. Cloudflare now recommends Workers with static assets for new sites, and Vovy explains how that differs from Pages.
- Set build command and output folder: Vovy sets npm run build and the output folder, like dist for Vite, so Cloudflare serves the finished files.
- Deploy: Vovy asks, starts the deploy, and reads the build log. If a build fails, it explains the first real error.
- Share the live link: Vovy opens your workers.dev URL, checks a few pages, and gives you a card with the link and how to add a custom domain next.
What you provide
- Your site on GitHub
- A free Cloudflare account
What you get
- A live workers.dev URL
- Auto-builds on every push
- Setup explained in a card
FAQ
Is it really free?
Static asset requests are free and unlimited on Cloudflare. Server code in Workers has a free daily request allowance, then a paid plan.
Pages or Workers, which should I pick?
Both work. Cloudflare is steering new projects to Workers, which also handles server code later, so Vovy picks that by default.
Can I use my Cloudflare domain?
Yes. If your domain is already on Cloudflare, adding it to the project takes a couple of clicks.
Related tasks
All tasks