Apps deployed through the GitHub App can now build a preview for every pull request, so reviewers click the change instead of reading the diff.
- One switch: open your app → Deployments → Pull request previews → Turn previews on.
- A URL per pull request: each preview runs at
pr<number>-<your app's domain>, and the link is posted as a comment on the pull request. - Cleans up after itself: the preview is removed when the pull request is closed or merged.
- Safe by default: pull requests from forks are not built, and previews run without your environment variables, so production secrets never reach pull request code.
- Fair limits: up to 3 open previews per app; new ones pause until a pull request closes.
See Deploy from GitHub.