-
-
Notifications
You must be signed in to change notification settings - Fork 784
Description
Hi!
I want to include taskfiles by dotenv var. For now I see that it is not possible because dotenv read when files already included...
.env:
TASKFILE_PATH=./child
Taskfile.yml:
version: '3'
dotenv:
- .env
includes:
child:
taskfile: $TASKFILE_PATH/Taskfile2.yml
optional: true
dir: $TASKFILE_PATH
Taskfile2.yml:
version: '3'
tasks:
default:
cmds:
- echo child
Also, it is not possible for now to include with env variable:
Taskfile.yml:
version: '3'
env:
TASKFILE_PATH: Taskfile2.yml
includes:
child:
taskfile: $TASKFILE_PATH
optional: true
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels