File tree 1 file changed +23
-23
lines changed
1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : gitee-sync
1
2
on :
2
- push :
3
- # delete this item if you don't want to trigger this workflow when modify this repo
4
- branches : master
5
- schedule :
6
- # * is a special character in YAML so you have to quote this string
7
- # UTC 17:00 -> CST (China) 1:00, see https://datetime360.com/cn/utc-cst-china-time/
8
- - cron : ' 0 17 * * *'
9
- name : Mirror GitHub Auto Queried Repos to Gitee
3
+ pull_request :
4
+ workflow_dispatch :
5
+
10
6
jobs :
11
- run :
12
- name : Sync-GitHub-to-Gitee
7
+ build :
8
+ name : gitee-sync
13
9
runs-on : ubuntu-latest
10
+
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
14
+ if : github.actor != 'dependabot[bot]'
14
15
steps :
15
- - name : Mirror the Github repos to Gitee.
16
- uses : Yikun/hub-mirror-action@master
17
- with :
18
- src : github/AgoraIO
19
- dst : gitee/agoraio-community
20
- white_list : " API-Examples"
21
- static_list : " API-Examples"
22
- dst_key : ${{ secrets.GITEE_PI_SSH }}
23
- dst_token : ${{ secrets.GITEE_PRIVATE_TOKEN }}
24
- mappings : " .github=>github"
25
- cache_path : " ./cache"
26
- force_update : true
27
- account_type : org
16
+ - name : Gitee sync repo
17
+
18
+ with :
19
+ src : github/AgoraIO
20
+ dst : gitee/agoraio-community
21
+ white_list : " API-Examples"
22
+ static_list : " API-Examples"
23
+ cache_path : " ./cache"
24
+ dst_key : ${{ secrets.GITEE_PI_SSH }}
25
+ dst_token : ${{ secrets.GITEE_PRIVATE_TOKEN }}
26
+ force_update : true
27
+ account_type : org
You can’t perform that action at this time.
0 commit comments