CI/CD
API Keys
In CI, you authenticate with an API key instead of GitHub OAuth. Generate an API key from the ev web dashboard under Settings → API Keys.
Store the key as a secret in your CI provider — never in your code or ev.yaml.
Environment Variables
| Variable | Description |
|---|---|
EV_API_KEY | API key for authentication (required in CI) |
EV_API_URL | URL of your ev API server (required if self-hosted) |
GitHub Actions
Full example that installs ev and pulls secrets before running tests:
Targeting a Specific Environment
Pull from a specific environment in CI:
Monorepo Pull Examples
For monorepos, pull secrets for each app before its build step:
Other CI Providers
ev works with any CI system that can run shell commands and set environment variables. Set EV_API_KEY and EV_API_URL as secret environment variables in your provider's settings:
CircleCI:
Set EV_API_KEY and EV_API_URL in CircleCI's environment variable settings for the project.
GitLab CI:
Set EV_API_KEY and EV_API_URL as masked CI/CD variables in GitLab project settings.