Tutorial

Deploy a Static Site in 10 Minutes

Your HTML files are ready. Here's the fastest path from folder to live URL using Cloudflare Pages.

Step 1: Push to GitHub

git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/you/my-site.git
git push -u origin main

Step 2: Connect Cloudflare Pages

  1. Log in to Cloudflare Dashboard
  2. Pages > Create a project > Connect Git
  3. Select your repo
  4. Build command: leave empty (static HTML)
  5. Output directory: / or root

Step 3: Custom Domain (Optional)

Pages > Custom domains > Add domain. Update DNS if needed. SSL is automatic.

Every git push redeploys in about 60 seconds.