Watch: Host my site for free on Cloudflare | Vovy

Watch Vovy do it on a Mac: "Put my static site on Cloudflare from GitHub". 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"

Deploy a static or Vite site to Cloudflare Workers with static assets from GitHub, with automatic builds and a free workers.dev URL.

What happens in the video

  1. Open Workers & Pages: Vovy opens the Cloudflare dashboard, then Workers & Pages, and clicks Create. You sign in yourself if prompted.
  2. 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.
  3. 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.
  4. Deploy: Vovy asks, starts the deploy, and reads the build log. If a build fails, it explains the first real error.
  5. 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.
Read the step-by-step guide