bythepixel/Environment Variable Replacement

Generate a new environment file with secrets replaced from a template file

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
secretsThe json glob of all secrets to use in the replacement yes
environment-nameThe environment to replace variables foryes
env-file-pathPath to the final environment file to generate. This may be the same as the template file path.yes
template-file-pathOptional explicit path to the template file. Overrides the <env-file-path>.<environment-name> convention. Use for files that do not follow that naming, e.g. appsettings.Production.json.no
delete-templateWhether to delete the template file after writing the output. Defaults to true so that e.g. .env.production is not left alongside .env.notrue
additional-variablesA json glob of additional variables to use in the replacementno{}

no outputs