Day-to-Day Operations
Deploys, Rollbacks, and Versions
Deploy (plug)
grid plug # Build and deploy
grid plug --detach # Deploy in background
grid plug --no-deploy # Upload code only, don't deploy
grid plug --skip-preflight # Skip local validation
Follow a deploy
grid follow d_abc123_xyz789 # Re-attach to an in-flight deploy
grid follow d_abc123 --verbose # Detailed output
List builds
grid builds my-app # Last 10 builds
grid builds my-app --limit 50 # More history
grid builds my-app --json # Machine-readable
Rollback
grid rollback my-app # Roll back one version
grid rollback my-app --revision 3 # Roll back to specific revision number
grid rollback my-app --to v_abc1234 # Roll back to specific version ID
grid rollback my-app --yes # Skip confirmation
Rollback re-points at an existing built image. Environment variables and secrets are unchanged.
Version management
grid versions list my-app # List all versions
grid versions tag my-app v_abc1234 "stable-release" # Tag a version
grid versions pin my-app v_abc1234 # Prevent retention cleanup
grid versions unpin my-app v_abc1234 # Allow retention cleanup
Download source from a deploy
grid pull my-app # Download source from last deploy
grid pull my-app --force # Overwrite existing files