TheDocumentation Index
Fetch the complete documentation index at: https://docs.devhelm.io/llms.txt
Use this file to discover all available pages before exploring further.
devhelmhq/setup-devhelm GitHub Action installs the DevHelm CLI and authenticates it in your workflow. Use it to validate, test, and deploy monitoring configurations as part of your CI/CD pipeline.
Basic usage
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
api-token | DevHelm API token (recommended: pass via secrets.DEVHELM_API_TOKEN) | No¹ | — |
devhelm-version | CLI version to install — exact semver (e.g. 0.6.4) or latest | No | latest |
api-url | DevHelm API base URL | No | https://api.devhelm.io |
org-id | Organization ID (multi-org tokens only) | No | — |
workspace-id | Workspace ID (multi-workspace tokens only) | No | — |
verify-connection | Run devhelm auth me after setup to confirm credentials work | No | false |
node-version | Node.js version to install if no Node ≥18 is detected on PATH. Set to empty string to skip auto-setup. | No | 20 |
api-token is technically optional so the action can be used to install the CLI without authenticating (e.g. devhelm --version smoke test). Required for any command that hits the API.
PR preview workflow
Show a deployment plan on pull requests:Gated deploy with dry-run
Use--detailed-exitcode to gate deploys based on whether changes exist:
10 means changes are pending; exit code 0 means no changes.
Multi-environment setup
Deploy different configs per environment using matrix or branch conditions:Secrets setup
- Go to your GitHub repository → Settings → Secrets and variables → Actions
- Add
DEVHELM_API_TOKENwith your DevHelm API key - For multi-environment setups, add per-environment tokens (e.g.,
DEVHELM_TOKEN_STAGING,DEVHELM_TOKEN_PRODUCTION)
Next steps
YAML file format
Learn the devhelm.yml schema and resource sections.
Deploy workflow
Understand the validate → plan → deploy lifecycle.
Multi-environment
Configure staging vs production deploys.
Generic CI
Use the CLI in GitLab, Jenkins, and other CI systems.