-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load(source) environment variables from a file as configuration file. #98
Labels
Comments
Potential workaround when the issue is ongoing. What we do four our own tusk file, is that for tasks that needs it, we source the file through the shell: run:
- |
set -e
source ${resources}/docker-compose.gotest.env This works if the env file is simple enough, but it does support comments with a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, and thank you. Your application is one of the best, and I use it every day for many of my projects. I'd like to suggest a new feature to load environment variables from a file. With this feature, we can use the same tusk.yml file for every project and only need to change the environment variables file.
The configuration file name will be specified at the top level of the tusk.yml file. Additionally, it can be optional; if the file exists, it will be loaded.
Thanks
The text was updated successfully, but these errors were encountered: