Skip to content

Commit b070cb6

Browse files
authored
Create GiteeMirror.yml
1 parent 6411ff2 commit b070cb6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/GiteeMirror.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: GiteeMirror
2+
on:
3+
push: # push 时触发, 主要是为了测试配置有没有问题
4+
schedule:
5+
- cron: '* */24 * * *' # 每天一次, 低碳一点
6+
jobs:
7+
hub-mirror-action:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Mirror the Github organization repos to Gitee.
11+
- uses: Yikun/hub-mirror-action@master
12+
with:
13+
src: github/knight000
14+
dst: gitee/kni_gitee
15+
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
16+
dst_token: ${{ secrets.GITEE_TOKEN }}
17+
mappings: "trackerslist=>trackerslist_mirror"
18+
static_list: "trackerslist"
19+
account_type: user

0 commit comments

Comments
 (0)