chore: update workflow (#311)

This commit is contained in:
Libin YANG 2024-07-04 19:24:56 +08:00 committed by GitHub
parent 9d8757bd39
commit ff44d3d40f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,16 +31,3 @@ jobs:
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@v1
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
source-repo: git@github.com:doocs/md.git
destination-repo: git@gitee.com:Doocs/md.git