v8
PR合并自动部署 / deploy (pull_request) Failing after 2s

This commit is contained in:
2026-08-08 17:30:30 +08:00
parent f787a942ee
commit 3bb1070582
-2
View File
@@ -21,8 +21,6 @@ jobs:
ssh -i ~/.ssh/deploy_key ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} <<-'EOF'
set -e
cd $DEPLOY_PATH
# 使用--local,仅当前仓库生效,不修改全局git配置,避开safe.directory多值冲突
git config --local safe.directory "*"
git fetch origin main
# 备份运行时db