Fix deploy: scp migration files not directory to avoid nesting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
James 2026-03-03 18:37:58 -05:00
parent 0647eb91b6
commit d52921e1f3
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ clean:
deploy: clean build-linux deploy: clean build-linux
ssh $(SHANNON) "systemctl stop dealspace || true" ssh $(SHANNON) "systemctl stop dealspace || true"
scp $(BUILD_DIR)/$(BINARY)-linux $(SHANNON):$(DEPLOY_PATH)/bin/dealspace 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)/ 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" ssh $(SHANNON) "chmod +x $(DEPLOY_PATH)/bin/dealspace && systemctl start dealspace && sleep 2 && curl -s http://localhost:8080/health"
@echo "Deployed ✓" @echo "Deployed ✓"