Push Environment
kinsta_environments_pushPush one environment to another (e.g., staging to live) with optional database and file transfer, and get an operation ID.
Instructions
Push one environment to another (e.g. staging to live). Returns an operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push_db | No | Push the database | |
| site_id | Yes | The site ID | |
| file_list | No | List of specific files to push (when push_files_option is SPECIFIC_FILES) | |
| push_files | No | Push files | |
| source_env_id | Yes | Source environment ID to push from | |
| target_env_id | Yes | Target environment ID to push to | |
| push_files_option | No | Which files to push | |
| run_search_and_replace | No | Run search and replace on the database |