deploy_package_and_start
Deploy packages from source to target environments in Optimizely DXP, enabling streamlined deployment workflows across Integration, Preproduction, and Production with direct deployment options.
Instructions
Deploy a package and start deployment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | ||
| apiSecret | No | ||
| directDeploy | No | ||
| packagePath | Yes | ||
| projectId | No | ||
| projectName | No | ||
| sourceEnvironment | Yes | ||
| targetEnvironment | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"apiKey": {
"type": "string"
},
"apiSecret": {
"type": "string"
},
"directDeploy": {
"default": true,
"type": "boolean"
},
"packagePath": {
"type": "string"
},
"projectId": {
"type": "string"
},
"projectName": {
"type": "string"
},
"sourceEnvironment": {
"enum": [
"Integration",
"Preproduction",
"Production"
],
"type": "string"
},
"targetEnvironment": {
"enum": [
"Integration",
"Preproduction",
"Production"
],
"type": "string"
}
},
"required": [
"sourceEnvironment",
"targetEnvironment",
"packagePath"
],
"type": "object"
}