Preview deploy
A preview deploy is the per-PR live URL automatically created by deploy platforms (Vercel, Netlify, Cloudflare Pages, Railway) — lets reviewers see the actual rendered change before merge.
In more detail
What it means
Preview deploys closed the loop on code review: instead of guessing how a PR looks, reviewers click a live URL. Implementations: deploy platform watches GitHub / GitLab, every PR triggers a fresh deploy at a unique URL (pr-123.preview.app), URLs are gated behind auth or password (or public for OSS), automatically torn down on merge. Combined with [[database-branching]], a preview deploy can also have its own ephemeral database. By 2026 preview deploys are table-stakes for Jamstack platforms; backend-only services still rarely have them (Render, Railway started adding them). Production patterns: comment from the deploy bot on the PR with the URL, automated Lighthouse / accessibility checks on preview, AI [[ai-code-review]] bots that pull preview screenshots.
Part 1 of 2
When to use it, and when not
Use it for
- Any frontend / full-stack PR workflow.
Part 2 of 2
Common mistakes
- Leaving preview deploys public + indexable — duplicate-content SEO penalties, leaked drafts.
FAQ
Questions readers ask.
What is preview deploy?
A preview deploy is the per-PR live URL automatically created by deploy platforms (Vercel, Netlify, Cloudflare Pages, Railway) — lets reviewers see the actual rendered change before merge.
When should you use preview deploy?
Any frontend / full-stack PR workflow.
What are the common mistakes with preview deploy?
Leaving preview deploys public + indexable — duplicate-content SEO penalties, leaked drafts.
Last updated: 2026-06-01. Raw markdown: https://promtable.com/glossary/preview-deploy.md. Found a mistake? Tell us.