Imports a package ZIP into the Appian environment using the v2 Deployment Management API. Polls until a terminal status and prints a full object summary.
node {baseDir}/scripts/index.js <zipPath> <deploymentName> [description] [customizationFilePath]
node {baseDir}/scripts/index.js "./appian-exports/MyPackage.zip" "Prod Release 1.2"
Exported packages are saved to ./appian-exports/ by appian-export.
Run appian-inspectpkg first to validate before deploying. If the environment requires approval, the deployment will return PENDING_REVIEW — check Appian Designer's Deploy view to approve.
POST ${APPIAN_BASE_URL}/deployments — triggers the importGET ${APPIAN_BASE_URL}/deployments/{uuid} — polls for completionAPPIAN_BASE_URL, APPIAN_API_KEY) are read from environment variables (injected by OpenClaw at runtime). If not injected, the script falls back to a appian.json file in the current working directory.共 1 个版本