fix: sudo rm for clone cleanup too
All checks were successful
Deploy / deploy (push) Successful in 1s

This commit is contained in:
Chen Gu
2026-04-23 12:55:09 +08:00
parent 09db0b6474
commit b3139f500c

View File

@@ -10,7 +10,7 @@ jobs:
steps: steps:
- name: Clone - name: Clone
run: | run: |
rm -rf /tmp/deploy-val-blog sudo rm -rf /tmp/deploy-val-blog
git clone "https://gch3n:${{ secrets.GITEA_TOKEN }}@git.gch3n.online/gch3n/val-blog.git" /tmp/deploy-val-blog git clone "https://gch3n:${{ secrets.GITEA_TOKEN }}@git.gch3n.online/gch3n/val-blog.git" /tmp/deploy-val-blog
- name: Build with Hugo - name: Build with Hugo