移除deplpy.sh中每次自动拉取最新代码, 以便于回退版本

This commit is contained in:
fawney19
2026-03-12 14:57:15 +08:00
parent ad31cdbf85
commit 280c604327
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -64,6 +64,7 @@ cp .env.example .env
python generate_keys.py # 生成密钥, 并将生成的密钥填入 .env
# 3. 部署 / 更新(自动构建、启动、迁移)
git pull
./deploy.sh
```
-4
View File
@@ -372,10 +372,6 @@ if [ "$FORCE_UPDATE_HUB" = true ]; then
exit 0
fi
# 拉取最新代码
echo ">>> Pulling latest code..."
git pull
# 标记是否需要重启
NEED_RESTART=false
BASE_REBUILT=false