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 ✓"