From 3c1e5545a928feb4864ca6f667b9f818ac256928 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Thu, 9 May 2024 01:21:32 -0400 Subject: [PATCH] fix: path prefix for common dotenv --- Taskfile.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 81096dd..a2a79ac 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -17,6 +17,7 @@ tasks: - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}" - cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./build.sh + dotenv: ['{{.CONFIG_ROOT}}/common.env'] env: IMAGE_VERSION: "{{.IMAGE_VERSION}}" @@ -30,7 +31,7 @@ tasks: - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}" - cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./start.sh - dotenv: ['common.env'] + dotenv: ['{{.CONFIG_ROOT}}/common.env'] env: IMAGE_VERSION: "{{.IMAGE_VERSION}}" ENV_FILE_DIR: "{{.CONFIG_ROOT}}" @@ -44,4 +45,4 @@ tasks: - rm -rf {{.SERVICES_ROOT}}/{{.CLI_ARGS}} - git clone "https://forge.karnov.club/spadinastan/{{.CLI_ARGS}}.git" "{{.SERVICES_ROOT}}/{{.CLI_ARGS}}" - cd {{ .SERVICES_ROOT }}/{{ .CLI_ARGS }} && . ./stop.sh - dotenv: ['common.env'] + dotenv: ['{{.CONFIG_ROOT}}/common.env']