Purpose
Deploys the project to staging or production using project-specific scripts, ensuring pre-deployment checks are passed.
When to Use
- When asked to "deploy" or "push to staging/production".
- When verifying the readiness of a frontend or backend build for a specific environment.
Process
- Target Selection: Ask for the environment (e.g.,
staging,production,frontend). - Pre-check: Run
./scripts/test-deployment.shand report output. - Confirmation: Request user approval before final deployment.
- Execution: Run
./scripts/deploy.sh {{TARGET}}. - Reporting: Provide final output and URLs.