fix(deploy): 恢复部署时自动拉取最新代码

This commit is contained in:
fawney19
2026-03-02 03:09:15 +08:00
parent 3eef673885
commit b7ef900181

View File

@@ -256,7 +256,9 @@ if [ "$1" = "--rebuild-hub" ]; then
exit 0
fi
echo ">>> Local-only mode: skip git pull."
# 拉取最新代码
echo ">>> Pulling latest code..."
git pull
# 标记是否需要重启
NEED_RESTART=false