diff --git a/.github/workflows/sync-gitea.yml b/.github/workflows/sync-gitea.yml index 3fc93eb..8535ccd 100644 --- a/.github/workflows/sync-gitea.yml +++ b/.github/workflows/sync-gitea.yml @@ -30,7 +30,7 @@ jobs: - name: Sync to Gitea Repository run: | ssh -o StrictHostKeyChecking=no git@gitea.com || echo "" - rm -rf .git + rm -rf .git || echo "" git clone --depth=1 git@gitea.com:${{ github.repository }}.git web-static mv opt/* web-static/ git add .