wodby app preview create
Create a preview environment for an open pull request
Create a preview environment for an open pull request. An active paid subscription is required.
Usage
wodby app preview create APP_ID [flags]
Options
| Flag | Description | Default |
|---|---|---|
--data string |
JSON request body | - |
-f, --file string |
Path to JSON request body | - |
-h, --help |
help for create | false |
--pull-request int |
Pull request number | 0 |
--repo string |
Remote repository ID of the pull request, as listed by pull-requests; required when the base environment tracks several repositories | - |
--timeout duration |
Maximum time to wait | 10m0s |
--wait |
Wait for the created task or deployment to finish | false |
Options inherited from parent commands
| Flag | Description | Default |
|---|---|---|
--access-token string |
Access token | - |
--api-base-url string |
Public REST API base URL | https://apiv2.wodby.com/v1 |
--api-key string |
API key | - |
--ci-config-path string |
Path to CI config | /tmp/.wodby-ci.json |
-o, --output string |
Output format: table, vertical, or json | table |
--verbose |
Verbose output | false |