Pull request integration
Preview deployments post:- a
docs7/previewcommit status on the pushed commit, and - a single comment on the open pull request with the preview link, edited in place on later pushes, never duplicated.
What triggers a preview
- Only
pushevents to branches in the repository itself build; pushes to forks are ignored. Tags, releases, and opening a pull request do not build. - Pushing the configured production branch deploys production instead.
- Deleting a branch on GitHub, or closing or merging its pull request, tears down the preview: the URL, the deployment target, everything. Deleting the production branch does nothing.
The preview cap
A site can hold 5 live branch previews on Free and 50 on Pro (see Limits). Past that, pushes to new branches are refused and reported as a faileddocs7/preview commit status; pushes to branches that already have a preview keep working. Clear previews by deleting merged branches on GitHub or closing their pull requests.