Preview environments
When the GitHub App receives a pull_request event, BreachFix Cloud can create an ephemeral preview service that builds the PR branch. Previews are isolated services with their own service ID and URL.
Requirements
- GitHub App installed with pull_request event subscription
- Parent service linked to the repository
- Preview environments enabled on the parent service
Lifecycle
Previews are created on PR open/sync and removed when the PR closes. View active previews on the service Previews tab in the dashboard.
Configuration
Previews inherit build settings from the parent service. Environment variables can differ per preview — configure under the preview service Environment tab.
See Connect GitHub for webhook setup.