From d52921e1f3184a62ffb7a22c9616ae09a304fae1 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 3 Mar 2026 18:37:58 -0500 Subject: [PATCH] Fix deploy: scp migration files not directory to avoid nesting Co-Authored-By: Claude Opus 4.6 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c70fd87..9be136c 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ clean: deploy: clean build-linux ssh $(SHANNON) "systemctl stop dealspace || true" scp $(BUILD_DIR)/$(BINARY)-linux $(SHANNON):$(DEPLOY_PATH)/bin/dealspace - scp -r migrations $(SHANNON):$(REMOTE_MIG) + scp migrations/*.sql $(SHANNON):$(REMOTE_MIG)/ scp -r portal $(SHANNON):$(DEPLOY_PATH)/ ssh $(SHANNON) "chmod +x $(DEPLOY_PATH)/bin/dealspace && systemctl start dealspace && sleep 2 && curl -s http://localhost:8080/health" @echo "Deployed ✓"