HomeProjectsArticlesAbout
🇪🇸🇬🇧
▼

This article is only about deployment, so anyone can open and read your site.

If your code is already in GitHub, you can get it live on Cloudflare Pages in just a few minutes.

1) Create the project in Cloudflare Pages

Go to Cloudflare and create a project in Workers & Pages.

2) Connect GitHub and import the repository

Link your GitHub account and import this project (or your own fork).

3) Choose Next.js as your framework

During setup, Cloudflare asks for your framework/language. Pick Next.js .

4) Set your URL name and deploy

Choose the temporary Cloudflare URL name (you can replace it later with your custom domain), then run the deploy.

5) Enable the critical compatibility flag

After deployment, go to:

  • Settings
  • Compatibility Flags

Add this flag:

  • nodejs_compat

With that, your website is live and publicly accessible.

HomeProjectsArticlesAbout
Deploy your blog with Git
☁️Article

Deploy your blog with Git

A short guide to deploy this blog on Cloudflare Pages by connecting GitHub and enabling the compatibility flag required for Next.js.

CloudflareNextjsDevOpsAI

🗓️2026-04-13🕒~1 min read

This article is only about deployment, so anyone can open and read your site.

If your code is already in GitHub, you can get it live on Cloudflare Pages in just a few minutes.

1) Create the project in Cloudflare Pages

Go to Cloudflare and create a project in Workers & Pages.

2) Connect GitHub and import the repository

Link your GitHub account and import this project (or your own fork).

3) Choose Next.js as your framework

During setup, Cloudflare asks for your framework/language. Pick Next.js .

4) Set your URL name and deploy

Choose the temporary Cloudflare URL name (you can replace it later with your custom domain), then run the deploy.

5) Enable the critical compatibility flag

After deployment, go to:

  • Settings
  • Compatibility Flags

Add this flag:

  • nodejs_compat

With that, your website is live and publicly accessible.

En esta página

  1. 1) Create the project in Cloudflare Pages
  2. 2) Connect GitHub and import the repository
  3. 3) Choose Next.js as your framework
  4. 4) Set your URL name and deploy
  5. 5) Enable the critical compatibility flag

· 2026-04-13 · ~1 min read