From 1f4f64ea9a8c71d7091f87011c564426d8fee8bc Mon Sep 17 00:00:00 2001 From: Alexis Fourmaux Date: Fri, 8 May 2026 12:59:10 +0200 Subject: [PATCH] fix: makefile that deployed to the wrong directory --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 476f707..6ea28ca 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ deploy-all: deploy-gw deploy-app deploy-app: @echo "Déploiement sur $(REMOTE):$(DEST)" ssh $(REMOTE) "mkdir -p $(DEST)" - rsync $(RSYNC_OPTS) ./app $(REMOTE):$(DEST)/app + rsync $(RSYNC_OPTS) app $(REMOTE):$(DEST) @echo "Déploiement terminé" ssh $(REMOTE) "cd $(DEST)/app && docker compose up -d --force-recreate --build" @echo "Services redémarrés" @@ -19,7 +19,7 @@ deploy-app: deploy-gw: @echo "Déploiement sur $(REMOTE):$(DEST)" ssh $(REMOTE) "mkdir -p $(DEST)" - rsync $(RSYNC_OPTS) ./lora-gateway $(REMOTE):$(DEST)/lora-gateway + rsync $(RSYNC_OPTS) lora-gateway $(REMOTE):$(DEST) @echo "Déploiement terminé" ssh $(REMOTE) "cd $(DEST)/lora-gateway && docker compose up -d --force-recreate" @echo "Services redémarrés" \ No newline at end of file