| name | stacks-deploy |
| description | Use when deploying a Stacks application — the deployment workflow (build → deploy), pre/post deploy hooks, server vs serverless mode selection, first-time deployment setup, deployment troubleshooting, or the buddy deploy command. For cloud infrastructure details (EC2, Lambda, CloudFormation, Route53, IAM), see stacks-cloud. |
| license | MIT |
| compatibility | Bun >= 1.3.0, TypeScript, AWS |
| allowed-tools | Read Edit Write Bash Grep Glob |
Stacks Deployment
The deployment workflow for Stacks applications.
Quick Deploy
buddy deploy
Preview the complete environment-aware plan before changing anything:
buddy deploy --dry-run
buddy deploy --dry-run --env staging
buddy deploy --dry-run --site docs
buddy deploy --dry-run --json
The preview uses the same environment transformation and ts-cloud site
classification as a real deploy. It reports the ordered validation,
infrastructure, build, package, release, runtime, gateway, DNS, TLS, and
optional container operations. It exits before prerequisite setup, builds,
packaging, hooks, provider calls, persistence, DNS, TLS, or service restarts.
The JSON form emits a versioned line for API and
tool consumers.