name: deploy description: Deploy the application or manage infrastructure. Handles Docker builds, CI/CD, and deployment workflows. argument-hint: "[environment or action]" disable-model-invocation: true
Deploy
Execute the following deployment/infrastructure task:
$ARGUMENTS
Pre-deployment Checklist
- Verify build: Ensure the project builds successfully
- Run tests: All tests should pass
- Check lint: Code should pass linting checks
- Review environment: Verify environment configuration
Docker Deployment
# Build and start all services
docker-compose up --build
# Build specific service
docker-compose build [service-name]
# View logs
docker-compose logs -f [service-name]
Environment Variables
Ensure all required environment variables are set according to project documentation.
Post-deployment Verification
- Health check: Verify the application is running
- Test endpoints: Verify key functionality works
- Monitor logs: Check for errors or warnings