Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ Use a preview in MDX with `<ComponentPreview name="chart-area-default" />` 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 |
Expand Down
6 changes: 0 additions & 6 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -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} */
Expand Down
Loading