Skip to content

Move deploy previews from Netlify to Vercel - #42817

Draft
mdo wants to merge 1 commit into
v6-devfrom
mdo/vercel-deploy-previews
Draft

Move deploy previews from Netlify to Vercel#42817
mdo wants to merge 1 commit into
v6-devfrom
mdo/vercel-deploy-previews

Conversation

@mdo

@mdo mdo commented Aug 11, 2026

Copy link
Copy Markdown
Member
  • Adds vercel.json and renames the netlify npm script to vercel
  • Astro reads the preview host from VERCEL_URL when VERCEL_ENV is preview, replacing DEPLOY_PRIME_URL
  • robots.txt blocks crawling on preview deployments, replacing the NETLIFY check
  • Updates the PR template preview link, the .gitignore entry, and the README credit

Astro reads the preview host from VERCEL_URL, and robots.txt blocks
crawling when VERCEL_ENV is preview. The npm script, the gitignore entry,
the PR template link, and the README credit follow the same move.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant