Merge pull request 'v7' (#7) from jacky-patch-3 into main

Reviewed-on: http://117.72.28.96:8765/Jacky/Hulumath-Web-Demo/pulls/7
This commit was merged in pull request #7.
This commit is contained in:
2026-08-08 17:29:37 +08:00
+2 -2
View File
@@ -21,8 +21,8 @@ jobs:
ssh -i ~/.ssh/deploy_key ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} <<-'EOF'
set -e
cd $DEPLOY_PATH
# 移除--add,兼容老git版本
git config --global safe.directory "$DEPLOY_PATH"
# 使用--local,仅当前仓库生效,不修改全局git配置,避开safe.directory多值冲突
git config --local safe.directory "*"
git fetch origin main
# 备份运行时db