kindkitchen/Generate dotenv
Utilize github vars and secrets to create dotenv file from them following instructions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| vars_obj | In most cases may be toJson(vars). Or any other key-value json string | — | {} |
| secrets_obj | In most cases may be toJson(secrets). Or any other key-value json stringO | — | {} |
| dotenv_path | The path, where generated dotenv file will be placed (the default is ./.env) | — | ./.env |
| dotenv_content | The literal content of the dotenv file. Will be placed at the bottom of generated file. | — | "" |
| vars_include_pattern | Regex by which the keys from vars will be included. (default: "*") | — | .* |
| vars_exclude_pattern | Regex by which the keys from vars will not be included. Will override `include_vars_pattern` on conflict. (default: null) | — | NOTING_this_is_hardcoded_impossible_pattern{10} |
| secrets_include_pattern | Regex by which the keys from secrets will be included. (default: "*") | — | .* |
| secrets_exclude_pattern | Regex by which the keys from secrets will not be included. Will override `include_secrets_pattern` on conflict. (default: null) | — | NOTING_this_is_hardcoded_impossible_pattern{10} |
| content_from_vars_include_pattern | Regex by which the keys from vars will be treated as part of content (many lines with variables) and these contents will be attached. (default: null) | — | "" |
| content_from_secrets_include_pattern | Regex by which the keys from secrets will be treated as part of content (many lines with variables) and these contents will be attached. (default: null) | — | "" |
Outputs
no outputs