ci: default MCP deploy path
All checks were successful
Deploy to Production / Build and Test (push) Successful in 10m36s
Deploy to Production / Deploy to Server (push) Successful in 4s

This commit is contained in:
你的用户名
2025-11-08 21:00:20 +08:00
parent 42a3019970
commit 74aed58f5a

View File

@@ -33,6 +33,7 @@ jobs:
set -o pipefail set -o pipefail
fi fi
DEPLOY_PATH="${DEPLOY_PATH:-/home/atai/kt-financial-system}"
LOG_DIR=/home/atai/logs LOG_DIR=/home/atai/logs
mkdir -p "${LOG_DIR}" mkdir -p "${LOG_DIR}"
LOG_FILE="${LOG_DIR}/deploy-mcp-$(date +%Y%m%d-%H%M%S).log" LOG_FILE="${LOG_DIR}/deploy-mcp-$(date +%Y%m%d-%H%M%S).log"
@@ -43,7 +44,7 @@ jobs:
echo "🚀 部署 Finance MCP 服务" echo "🚀 部署 Finance MCP 服务"
cd /home/atai cd /home/atai
if [ ! -d "kt-financial-system" ]; then if [ ! -d "${DEPLOY_PATH}" ]; then
echo "📥 首次部署,正在克隆仓库..." echo "📥 首次部署,正在克隆仓库..."
git clone https://gitea.ktyun.cc/chenjiangjiang/kt-financial-system.git git clone https://gitea.ktyun.cc/chenjiangjiang/kt-financial-system.git
fi fi