Skip to content

Commit

Permalink
Update Sync-Gitee.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru authored Jan 29, 2024
1 parent df604d7 commit 1696d10
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/Sync-Gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
# 注意替换为你的 GitHub 源仓库地址
source-repo: [email protected]:YuzukiHD/TinyVision.git
# 注意替换为你的 Gitee 目标仓库地址
destination-repo: [email protected]:GloomyGhost/TinyVision.git
- 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
# src_account_type: org
# dst_account_type: org

0 comments on commit 1696d10

Please sign in to comment.