Skip to content

Commit b7ccf90

Browse files
authored
Create SyncToGitee.yml
1 parent 0823c19 commit b7ccf90

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/SyncToGitee.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: syncToGitee
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
repo-sync:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout source codes
11+
uses: actions/checkout@v3
12+
13+
- name: Mirror the Github organization repos to Gitee.
14+
uses: Yikun/hub-mirror-action@master
15+
with:
16+
src: 'github/RapidAI'
17+
dst: 'gitee/RapidAI'
18+
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
19+
dst_token: ${{ secrets.GITEE_TOKEN }}
20+
force_update: true
21+
# only sync this repo
22+
static_list: "YOLO2COCO"
23+
debug: true
24+

0 commit comments

Comments
 (0)