From 23f7b19759a4e20c2dd55a31516b9437272e823f Mon Sep 17 00:00:00 2001 From: timblazing Date: Mon, 23 Nov 2026 15:46:36 -0600 Subject: [PATCH] Restore production builds after the revert pilot --- README.md | 2 -- next.config.mjs | 6 ------ 2 files changed, 8 deletions(-) diff --git a/README.md b/README.md index bbb58db..ed394db 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,6 @@ Use a preview in MDX with `` or `< ## Deploy -Temporary revert pilot: `next.config.mjs` intentionally rejects Cloudflare Pages builds on `main` so proj can prove it opens a protected revert PR after an auto-merge. CI, local and preview builds are unaffected. The last successful production deployment stays live. Remove the guard and this paragraph after verifying the revert PR; do not change the Cloudflare build settings. - The site is a static export (`output: 'export'`) hosted on Cloudflare Pages at https://components.blasingame.dev. Pages is connected to this repo and builds every push to `main`: | Setting | Value | diff --git a/next.config.mjs b/next.config.mjs index 6925c7b..219f24d 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,11 +1,5 @@ import { createMDX } from 'fumadocs-mdx/next'; -// Temporary, owner-authorized pilot of proj's broken-auto-merge detection. -// Cloudflare keeps the previous successful deployment serving when this fails. -if (process.env.CF_PAGES === '1' && process.env.CF_PAGES_BRANCH === 'main') { - throw new Error('PROJ_REVERT_PILOT: intentional production build failure; remove this guard after the revert PR is verified.'); -} - const withMDX = createMDX(); /** @type {import('next').NextConfig} */