Deploy Skill
Deploy the application to the target environment.
Prerequisites
- •Docker installed and running
- •AWS CLI configured with appropriate credentials
- •Access to the deployment registry
Usage
code
/deploy [environment] [--dry-run]
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| environment | Yes | - | Target: staging, production |
| --dry-run | No | false | Preview changes without applying |
Steps
- •Build the Docker image from current branch
- •Run integration tests against the image
- •Push image to container registry
- •Update the deployment manifest
- •Apply rolling update to target environment
- •Verify health checks pass
Rollback
If health checks fail after deployment:
- •Revert to previous image tag
- •Apply rollback manifest
- •Notify the team channel
Notes
- •Production deploys require approval from
@platform-team - •Staging deploys are auto-approved during business hours
- •See
docs/deployment.mdfor architecture details - •See
docs/runbook.mdfor incident response procedures
Related
- •
/rollbackskill for manual rollback - •
/statusskill for deployment status