Home/Docs/Build & configure

Previews

A separate, temporary address for every pull request and for work your AI wants to show you before it goes live.

Pull request previews

When a project is connected to GitHub or GitLab, every pull request (merge request on GitLab) gets its own build at:

https://pr-<number>--<project>.wrenship.site
  • New commits to the pull request rebuild the same preview.
  • Wrenship comments the link on the pull request and updates the comment. You can turn comments off in the project settings.
  • The preview is removed when the pull request is closed or merged.
  • Production doesn't change until the branch is merged and the production branch deploys.

AI previews

An AI app can deploy with environment: "preview" to get a temporary address instead of changing the live site. These previews are kept for 7 days.

Good to know

  • Previews use variables scoped to Preview or All environments. See Environment variables.
  • Up to 10 previews per project are kept at a time. When an 11th starts, the oldest is removed.
  • Pull request previews are included on Edge Pro.