Plan Dynamic Production Deployment (v1.5.0 Context-Aware)
plan_dynamic_deploymentAnalyze git diffs, dependency changes, schema updates, and pending migrations to generate a conditional deployment plan for production.
Instructions
Analyzes git diffs, dependency changes, schema updates, and pending migrations to generate a production-first conditional deployment plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | No | PM2 app name or ecosystem file | |
| app_path | No | Absolute path to application directory on remote server (auto-resolved if omitted) | |
| auto_analyze | No | Whether to SSH into server and auto-detect changes, runtimes, and migration status | |
| target_branch | No | Remote git target branch for change diff analysis (default: upstream default / main) | |
| force_all_steps | No | Set to true to force dependency install and migration steps regardless of git diff | |
| custom_build_cmd | No | Optional override for build command | |
| custom_install_cmd | No | Optional override for dependency install command | |
| migration_framework | No | Database migration framework | auto |
| custom_migration_cmd | No | Optional override for production database migration command |