diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c29d4d..35e8598 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,13 +36,18 @@ jobs: run: npm run build - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.4 + uses: JamesIves/github-pages-deploy-action@4.1.5 with: branch: gh-pages folder: dist + sync-to-gitee: + runs-on: ubuntu-latest + if: github.repository == 'doocs/md' + needs: build-and-deploy + steps: - name: Sync to Gitee - uses: wearerequired/git-mirror-action@master + uses: wearerequired/git-mirror-action@v1 env: SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} with: