Enable preview apps for a pipeline. When enabled, the pipeline can create ephemeral preview environments for pull requests. If the pipeline does not have a Git repository configured, you must provide a repo_url to connect one.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Pipeline identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Git repository URL to connect to the pipeline. Required if the pipeline does not already have a repository configured.
"https://github.com/user/repo"
Automatically create a preview app when a pull request is opened
false
Automatically delete preview apps that have not been deployed for longer than the stale app threshold
false
Number of days after the last deployment before a preview app is considered stale
1 <= x <= 3655
Default Response
Confirmation message
"Pipeline preview stage has been enabled"