-
-
Notifications
You must be signed in to change notification settings - Fork 388
35 lines (33 loc) · 1019 Bytes
/
SyncToGitee.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: SyncToGitee
on:
push:
branches:
- main
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout source codes
uses: actions/checkout@v4
- name: Mirror the Github organization repos to Gitee.
uses: Yikun/[email protected]
with:
src: 'github/RapidAI'
dst: 'gitee/RapidAI'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
force_update: true
# only sync this repo
static_list: "RapidOCR"
debug: true
- name: Mirror the Github organization repos to Gitee.
uses: Yikun/[email protected]
with:
src: 'github/RapidAI'
dst: 'gitee/openKylin'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
force_update: true
# only sync this repo
static_list: "RapidOCR"
debug: true