You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ task greet
task: [greet] echo "Using $KEYNAME and endpoint $ENDPOINT"
Using VALUE and endpoint testing.com
If I run ENV=wibble task greet, I get…
$ ENV=wibble task greet
task: [greet] echo "Using $KEYNAME and endpoint $ENDPOINT"
Using VALUE and endpoint testing.com
$ export ENV=wibble
$ task greet
task: [greet] echo "Using $KEYNAME and endpoint $ENDPOINT"
Using VALUE and endpoint testing.com
I would expect that if I set ENV=wibble I should see env vars from the wibble/.env file, but I cannot get this working.
No matter what I try, I cannot get this working other than changing the env value in the Taskfile itself to get the alternative env var values.
Am I missing something obvious, or is this a bug?
The text was updated successfully, but these errors were encountered:
➜ task greet
task: [greet] echo "Using $KEYNAME and endpoint $ENDPOINT"
Using VALUE and endpoint testing.com
➜ ENV=wibble task greet
task: [greet] echo "Using $KEYNAME and endpoint $ENDPOINT"
Using VALUE and endpoint wibble.com
Following the example in this docs here I've created the following files
If I run
task greet
, I get…If I run
ENV=wibble task greet
, I get…I would expect that if I set ENV=wibble I should see env vars from the
wibble/.env
file, but I cannot get this working.No matter what I try, I cannot get this working other than changing the env value in the Taskfile itself to get the alternative env var values.
Am I missing something obvious, or is this a bug?
The text was updated successfully, but these errors were encountered: