fix: 添加 git safe.directory 配置解决权限问题
Some checks failed
Deploy BillAI / Deploy to Production (push) Failing after 1s

This commit is contained in:
CHE LIANG ZHAO
2026-01-26 18:06:38 +08:00
parent cb4273fad0
commit cc0623c15a

View File

@@ -17,6 +17,7 @@ jobs:
run: |
echo "=== 拉取最新代码 ==="
echo "部署路径: ${{ vars.DEPLOY_PATH }}"
git config --global --add safe.directory ${{ vars.DEPLOY_PATH }}
cd ${{ vars.DEPLOY_PATH }}
git fetch origin master
git reset --hard origin/master