Skip to content

no-vercel-preview-for-gh-pages - #7

Merged
OR13 merged 1 commit into
mainfrom
no-vercel-preview-for-gh-pages
Jul 28, 2026
Merged

no-vercel-preview-for-gh-pages#7
OR13 merged 1 commit into
mainfrom
no-vercel-preview-for-gh-pages

Conversation

@OR13

@OR13 OR13 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Why: the archive workflow (cron Sun/Tue/Thu 00:00 UTC) pushes to gh-pages, which Vercel picks up as a Preview deployment. That build fails instantly with The specified Root Directory "demo" does not existgh-pages only holds built drafts, not the Next.js app. Result: a cosmetic red X three times a week (07-19, 07-21, 07-23, 07-26, 07-28), with GitHub Actions itself entirely green.

Adds demo/vercel.json (Vercel resolves config relative to the project's Root Directory, demo) turning off automatic deployments for gh-pages only. main still deploys to production; GitHub Pages is untouched.

🤖 Generated with Claude Code

Why: the archive workflow (cron Sun/Tue/Thu 00:00 UTC) pushes to gh-pages,
which Vercel picks up as a Preview deployment. That build fails instantly
with 'The specified Root Directory "demo" does not exist' — gh-pages only
holds built drafts. Result: a cosmetic red X three times a week.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
emblem-red Ready Ready Preview, Comment Jul 28, 2026 1:03pm

Request Review

@OR13
OR13 merged commit 7ceea3e into main Jul 28, 2026
4 checks passed
@OR13
OR13 deleted the no-vercel-preview-for-gh-pages branch July 28, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant