Requirements
- Node.js 18+ installed on the CI runner
DEVHELM_API_TOKENenvironment variable set with a valid API token- A
devhelm.ymlconfiguration file in your repository
Install the CLI
Deploy workflow
The standard workflow is: validate → plan → deploy.--yes flag skips interactive confirmation — required in CI environments.
GitLab CI
Jenkins
CircleCI
Bitbucket Pipelines
Dry-run for PR checks
Use--dry-run --detailed-exitcode to gate merges:
| Exit code | Meaning |
|---|---|
0 | No changes needed |
10 | Changes pending |
1 | Error |
Environment variables
| Variable | Required | Description |
|---|---|---|
DEVHELM_API_TOKEN | Yes | API token for authentication |
DEVHELM_API_URL | No | API base URL (default: https://api.devhelm.io) |
DEVHELM_ORG_ID | No | Organization ID for multi-org accounts |
Next steps
GitHub Actions
Use the official setup-devhelm action for GitHub.
CI/CD pipeline guide
End-to-end CI/CD setup with plan previews.
Monitoring as Code
Full YAML format and deploy workflow.