fix: path prefix for common dotenv

This commit is contained in:
Marc 2024-05-09 01:21:32 -04:00
parent be8efd8120
commit 3c1e5545a9
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -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']