Skip to content

Action to replace env variables

Compare
Choose a tag to compare
@dschiese dschiese released this 28 Mar 10:01
· 9 commits to main since this release
68f2995

The replacement of placeholder variables within .env files with secrets from the repository is a - in my case - often occurring scenario. In a GitHub action, it is not possible to use {{ secrets.XXX }} inside .env-files. Therefore it's required to use scripts inside the workflow to handle that. This approach is pretty redundant and not generalized.
This action aims to tackle that problem.