We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90148aa commit 668839cCopy full SHA for 668839c
.github/workflows/HubMirror.yml
@@ -1,9 +1,18 @@
1
-steps:
2
-- name: Mirror the Github organization repos to Gitee.
3
- uses: knight000/trackerslist@master
4
- with:
5
- src: github/knight000
6
- dst: gitee/kni_gitee
7
- dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
8
- dst_token: ${{ secrets.GITEE_TOKEN }}
9
- account_type: user
+name: Hub Mirror
+
+on:
+ push: # push 时触发, 主要是为了测试配置有没有问题
+ schedule:
+ - cron: '* */24 * * *' # 每天一次, 低碳一点
+jobs:
+ hub-mirror-action:
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Mirror the Github organization repos to Gitee.
12
+ - uses: Yikun/[email protected]
13
+ with:
14
+ src: github/knight000
15
+ dst: gitee/kni_gitee
16
+ dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
17
+ dst_token: ${{ secrets.GITEE_TOKEN }}
18
+ account_type: user
0 commit comments