Skip to content

Configure docs-only Vercel preview deployments - #795

Open
zahlekhan wants to merge 1 commit into
thesysdev:mainfrom
zahlekhan:codex/vercel-preview-docs
Open

Configure docs-only Vercel preview deployments#795
zahlekhan wants to merge 1 commit into
thesysdev:mainfrom
zahlekhan:codex/vercel-preview-docs

Conversation

@zahlekhan

Copy link
Copy Markdown
Contributor

Summary

  • add a Vercel project configuration for the docs app
  • allow preview builds only when the latest commit changes files under docs
  • keep production deployments unaffected

Why

Avoid unnecessary Vercel preview builds for non-main changes that do not affect the documentation site.

Validation

  • parsed docs/vercel.json as JSON
  • ran git diff --check
  • verified the ignore command exits 1 for a preview with docs changes (build)
  • verified it exits 0 for a preview without docs changes (skip)
  • verified production exits 1 (build)

@zahlekhan
zahlekhan marked this pull request as ready for review July 21, 2026 07:02
@zahlekhan
zahlekhan enabled auto-merge (squash) July 21, 2026 07:02
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