wodby app settings update
Update the app's pull request preview environment settings
Update the app's pull request preview environment settings. Settings not given as flags keep their current values. Enabling preview environments requires an active paid subscription.
Usage
wodby app settings update APP_ID [flags]
Options
| Flag | Description | Default |
|---|---|---|
--clear-preview-imports |
Remove every preview import | false |
--data string |
JSON request body | - |
-f, --file string |
Path to JSON request body | - |
-h, --help |
help for update | false |
--preview-base int |
ID of the base app environment; previews are made for pull requests into the branch it tracks | 0 |
--preview-basic-auth |
Protect previews with basic auth and one shared generated password; --preview-basic-auth=false turns it off | false |
--preview-build-drafts |
Create previews for draft pull requests too; --preview-build-drafts=false skips them | false |
--preview-environment-type string |
Environment type of previews: test, staging, dev or feature | - |
--preview-idle-days int |
Days without activity after which a preview is deleted; 0 never deletes idle previews | 0 |
--preview-import stringArray |
Import into each preview as APP_SERVICE=IMPORT=BACKUP; repeat for more; replaces the current imports | [] |
--preview-max int |
Maximum number of open preview environments; pull requests beyond it are skipped | 0 |
--preview-run-cron-jobs |
Run the base environment's cron jobs in previews; --preview-run-cron-jobs=false copies them disabled | false |
--previews |
Turn pull request preview environments on; --previews=false turns them off | 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 |