fix: 完善鉴权模块,修复 CI/CD 中 dubious ownership 错误 #143

Merged
huanghaosheng merged 8 commits from develop into v2 2026-06-20 17:24:06 +08:00
Showing only changes of commit 39073b7673 - Show all commits

View File

@@ -10,6 +10,7 @@ jobs:
steps: steps:
- name: Deploy - name: Deploy
run: | run: |
git config --global --add safe.directory /root/camtalk
if [ -d /root/camtalk/.git ]; then if [ -d /root/camtalk/.git ]; then
cd /root/camtalk cd /root/camtalk
git fetch origin ${GITHUB_REF_NAME} --depth=1 git fetch origin ${GITHUB_REF_NAME} --depth=1