Skip to content

Commit c6f4441

Browse files
committed
git-action: add support to sync gitee
1 parent 6ef8fc3 commit c6f4441

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/gitee-mirror.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Mirror-To-Gitee
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 18 * * *'
7+
8+
concurrency:
9+
group: git-mirror
10+
11+
jobs:
12+
git-mirror:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: wearerequired/git-mirror-action@v1
16+
env:
17+
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
18+
with:
19+
source-repo: 'https://github.com/modelbox-ai/modelbox.git'
20+
destination-repo: 'git@gitee.com:modelbox/modelbox.git'

0 commit comments

Comments
 (0)