gon deploy
Deploy a Docker image to production. Rolling update with health checks and automatic rollback.
Usage
gon deploy production --tag=v1.0.0 # Deploygon deploy staging --tag=v1.0.0 # Deploy to staginggon deploy production --rollback # Rollback to previous
What happens
- Pull image from GHCR
- Stop old containers
- Start new containers
- Wait for health check
- Run post-deploy commands (migrations, cache clear)