From 4b5ba1e6a988780ce002248e4db5895500e79717 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 24 Apr 2026 19:34:30 +0100 Subject: [PATCH 1/2] Update the cloudflare account it for the open-next version of the site --- .github/workflows/tmp-cloudflare-open-next-deploy.yml | 2 +- apps/site/wrangler.jsonc | 4 ++-- docs/cloudflare-build-and-deployment.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tmp-cloudflare-open-next-deploy.yml b/.github/workflows/tmp-cloudflare-open-next-deploy.yml index 192dc9d24b86a..e03a0af7fb209 100644 --- a/.github/workflows/tmp-cloudflare-open-next-deploy.yml +++ b/.github/workflows/tmp-cloudflare-open-next-deploy.yml @@ -66,4 +66,4 @@ jobs: env: CF_WORKERS_SCRIPTS_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} - CLOUDFLARE_ACCOUNT_ID: fb4a2d0f103c6ff38854ac69eb709272 + CLOUDFLARE_ACCOUNT_ID: 07be8d2fbc940503ca1be344714cb0d1 diff --git a/apps/site/wrangler.jsonc b/apps/site/wrangler.jsonc index b176578dd2eea..60e8049b6ba55 100644 --- a/apps/site/wrangler.jsonc +++ b/apps/site/wrangler.jsonc @@ -4,7 +4,7 @@ "name": "nodejs-website", "compatibility_date": "2024-11-07", "compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"], - "account_id": "fb4a2d0f103c6ff38854ac69eb709272", + "account_id": "07be8d2fbc940503ca1be344714cb0d1", "minify": true, "keep_names": false, "assets": { @@ -24,7 +24,7 @@ // needs to be set as well in the Cloudflare dashboard "CF_WORKER_NAME": "nodejs-website", "CF_PREVIEW_DOMAIN": "nodejsorg", - "CF_ACCOUNT_ID": "fb4a2d0f103c6ff38854ac69eb709272", + "CF_ACCOUNT_ID": "07be8d2fbc940503ca1be344714cb0d1", }, "observability": { "enabled": true, diff --git a/docs/cloudflare-build-and-deployment.md b/docs/cloudflare-build-and-deployment.md index 2327e71445fa6..243653baed415 100644 --- a/docs/cloudflare-build-and-deployment.md +++ b/docs/cloudflare-build-and-deployment.md @@ -16,7 +16,7 @@ Key configurations include: - `main`: Points to a custom worker entry point ([`site/cloudflare/worker-entrypoint.ts`](../apps/site/cloudflare/worker-entrypoint.ts)) that wraps the OpenNext-generated worker (see [Custom Worker Entry Point](#custom-worker-entry-point) and [Sentry](#sentry) below). - `account_id`: Specifies the Cloudflare account ID. This is not required for local previews but is necessary for deployments. You can obtain an account ID for free by signing up at [dash.cloudflare.com](https://dash.cloudflare.com/login). - - This is currently set to `fb4a2d0f103c6ff38854ac69eb709272`, which is the ID of a Cloudflare account controlled by Node.js, and used for testing. + - This is set to `07be8d2fbc940503ca1be344714cb0d1`, which is the ID of a Cloudflare account controlled by Node.js. - `build`: Defines the build command to generate the Node.js filesystem polyfills required for the application to run on Cloudflare Workers. This uses the [`@flarelabs/wrangler-build-time-fs-assets-polyfilling`](https://github.com/flarelabs-net/wrangler-build-time-fs-assets-polyfilling) package. - `alias`: Maps aliases for the Node.js filesystem polyfills generated during the build process. - `r2_buckets`: Contains a single R2 binding definition for `NEXT_INC_CACHE_R2_BUCKET`. This is used to implement the Next.js incremental cache. From 26981ec9a437cf2c6b2c23c2b770a0cf3fe9cfac Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 24 Apr 2026 21:03:31 +0100 Subject: [PATCH 2/2] update r2 text as well --- docs/cloudflare-build-and-deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cloudflare-build-and-deployment.md b/docs/cloudflare-build-and-deployment.md index 243653baed415..4ef60cac192a7 100644 --- a/docs/cloudflare-build-and-deployment.md +++ b/docs/cloudflare-build-and-deployment.md @@ -20,7 +20,7 @@ Key configurations include: - `build`: Defines the build command to generate the Node.js filesystem polyfills required for the application to run on Cloudflare Workers. This uses the [`@flarelabs/wrangler-build-time-fs-assets-polyfilling`](https://github.com/flarelabs-net/wrangler-build-time-fs-assets-polyfilling) package. - `alias`: Maps aliases for the Node.js filesystem polyfills generated during the build process. - `r2_buckets`: Contains a single R2 binding definition for `NEXT_INC_CACHE_R2_BUCKET`. This is used to implement the Next.js incremental cache. - - This is currently set up to a R2 bucket in the aforementioned Cloudflare testing account. + - This is set up to a R2 bucket in the aforementioned Cloudflare account. - `durable_objects`: Contains a single DurableObject binding definition for `NEXT_CACHE_DO_QUEUE`. This is used to implement the Open-next cache queue. - `version_metadata`: Contains a binding for `CF_VERSION_METADATA`, used for Sentry release configuration (see [Sentry](#sentry) below).