# Preview Deployment

> A short-lived copy of the app for one pull request. It has its own link.

**Field:** Software Development  
**Category:** DevOps & Cloud  
**Also known as:** Preview Environment, Deploy Preview, Review App, Ephemeral Environment

## Think of it like

Think of it like a show home for each new idea. People walk through it before anyone moves in.

## Definition

A preview deployment is a short-lived copy of the app for one pull request. It is built from that branch and gets its own web address. Reviewers click the link and try the change for real, before it is merged. It does not touch the live site. When the pull request closes, the preview can be removed.

## Example

Jack opens a pull request for a new menu. A bot comments a link, and Lucy tries the menu on her phone before she approves.

## Why it matters

Reviewers see the real change, not just the code, so they catch problems early.

## Common mistake

Pointing previews at the live database. A test click could then change real customer data.

## Three principles

- **One per change.** Each pull request gets its own.
- **Own link.** Anyone on the team can try it.
- **Short-lived.** Gone when the change is merged.

## Related terms

- [Pull Request](https://learn.benibix.com/term/development/pull-request)
- [Staging Environment](https://learn.benibix.com/term/development/staging-environment)
- [Deployment (Software)](https://learn.benibix.com/term/development/deployment)
- [Continuous Deployment](https://learn.benibix.com/term/development/continuous-deployment)

## Told apart from

- [Staging Environment vs Preview Deployment](https://learn.benibix.com/compare/staging-environment-vs-preview-deployment): A staging environment is one shared copy of the live site, where the next release is tested. A preview deployment is a short-lived copy made for one pull request. A team may have one staging site but many previews at once.

![Three pull requests, each with its own branch. Each one gets its own preview deployment, lit up, with its own web address, such as pr-41.example.dev. A reviewer clicks the link in the pull request and tries the change. Only the main branch deploys to production, the live site at example.com.](https://learn.benibix.com/diagrams/dev3-preview-deploy.svg)

---

Source: https://learn.benibix.com/term/development/preview-deployment
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
