diff --git a/.github/workflows/Sync-Gitee.yml b/.github/workflows/Sync-Gitee.yml index 49ac270e9d..39a21c0b33 100644 --- a/.github/workflows/Sync-Gitee.yml +++ b/.github/workflows/Sync-Gitee.yml @@ -1,16 +1,18 @@ name: Sync To Gitee + on: [ push, delete, create ] + jobs: build: runs-on: ubuntu-latest steps: - - name: Mirror the Github organization repos to Gitee. - uses: Yikun/hub-mirror-action@master - with: - src: github/YuzukiHD - dst: gitee/YuzukiHD-Mirror - dst_key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} - dst_token: ${{ secrets.GITEE_TOKEN }} - force_update: true - account_type: org - white_list: "TinyVision" + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY + SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + with: + # 注意替换为你的 GitHub 源仓库地址 + source-repo: git@github.com:yuzukihd/TinyVision.git + # 注意替换为你的 Gitee 目标仓库地址 + destination-repo: git@gitee.com:YuzukiHD-Mirror/TinyVision.git