Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 602 Bytes

How-to-deploy-to-Cloudflare-Pages.md

File metadata and controls

14 lines (10 loc) · 602 Bytes

How to deploy your project to Cloudflare Pages

  1. Log in to the Cloudflare dashboard and select your account.
  2. Select Compute(Workers) > Create > Pages.
  3. Click Connect to Git > deep-research > Begin Setup
  4. Framework preset > Next.js > Set Environment Variables (optional) > Save and Deploy
  5. Deploy > Redeploy

Set a custom domain name (optional)

Since the pages.dev domain name cannot be accessed normally in some countries, you can solve this problem by setting a custom domain name.

  1. Select Compute(Workers) > Your project.
  2. Select Custom Domains > Set up a custom domain.