Skip to content

Commit 4326f25

Browse files
committed
feat:Add gitee-sync.yml
1 parent 24e810e commit 4326f25

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/gitee-sync.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: gitee-sync
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: gitee-sync
10+
runs-on: ubuntu-latest
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
if: github.actor != 'dependabot[bot]'
16+
steps:
17+
- name: Gitee sync repo
18+
uses: Yikun/[email protected]
19+
with:
20+
src: github/AgoraIO-Community
21+
dst: gitee/agoraio-community
22+
white_list: "agora-rest-client-java"
23+
static_list: "agora-rest-client-java"
24+
cache_path: "./cache"
25+
dst_key: ${{ secrets.GITEE_PI_SSH }}
26+
dst_token: ${{ secrets.GITEE_PRIVATE_TOKEN }}
27+
force_update: true
28+
account_type: org

0 commit comments

Comments
 (0)