From 24265ed8f696123e03fbca3cbbccb107936dda32 Mon Sep 17 00:00:00 2001 From: furyhawk Date: Tue, 4 Jun 2024 14:42:53 +0800 Subject: [PATCH] Refactor makefile to fix loadenvs command in deploy-test target --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index ad30ba9..9bb0d61 100644 --- a/makefile +++ b/makefile @@ -17,9 +17,9 @@ pull: deploy-apps: pull @echo "Deploying the apps stack..." - loadenvs ./swarm/.env && docker stack deploy --compose-file ./swarm/apps.yml apps + $(loadenvs ./swarm/.env) && docker stack deploy --compose-file ./swarm/apps.yml apps deploy-test: pull @echo "Deploying the apps stack..." - $(loadenvs) ./swarm/.env && docker stack deploy --compose-file ./swarm/thelounge.yml thelounge + $(loadenvs ./swarm/.env) && docker stack deploy --compose-file ./swarm/thelounge.yml thelounge # git submodule update --init --recursive \ No newline at end of file