Exit code reference
| Code | Name | Description |
|---|---|---|
0 | Success | Command completed successfully |
1 | Error | Validation failure, API error, or command error |
2 | Auth failure | No API token found or token rejected |
10 | Changes pending | Dry-run detected changes (with --detailed-exitcode) |
Usage in CI
Gate merges on config drift
Use--detailed-exitcode with deploy --dry-run to detect config changes in a PR check:
| Exit code | CI behavior |
|---|---|
0 | Config is in sync — pass the check |
10 | Config has changes — fail or flag for review |
1 | Error — fail the check |
Shell scripting
GitHub Actions
Next steps
Deploy commands
Full deploy, plan, and validate reference.
GitHub Actions
CI/CD integration with the setup-devhelm action.