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