dotenvcloud/DotEnv Secrets
Pull and manage environment variables from DotEnv platform
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 11, 2026
- License
- MIT
Pinned Snippet
uses: dotenvcloud/action-github@d5e94a80de1d5689ec7f19524a85511fdaae6f93 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | DotEnv API key for authentication | yes | — |
| project | Project name to pull secrets from | yes | — |
| target | Target environment (e.g., production, staging) | no | "" |
| environment | Specific environment within target (e.g., api, web) | no | "" |
| output-file | Path to write the .env file | no | .env |
| format | Output format (env, json, yaml, shell, dockerfile) | no | env |
| export-variables | Export secrets as GitHub environment variables | no | false |
| organization | Organization to use (if different from default) | no | "" |
| api-url | Custom API URL (for testing/enterprise) | no | "" |
| decrypt | Decrypt secrets (disable for raw encrypted values) | no | true |
| resolve | Resolve variable interpolation | no | false |
| quiet | Suppress output | no | false |
| merge | Merge secrets from all hierarchy levels | no | true |
| cli-version | CLI version to install: "latest" (default, newest stable release), "nightly" (rolling main HEAD), an exact version ("1.2.3"), or a partial version ("1" → newest 1.x.x, "1.2" → newest 1.2.x) | no | latest |
Outputs
| name | description |
|---|---|
| env-file | Path to the generated environment file |