Skip to content

Commit 06556d8

Browse files
authored
Merge pull request #32 from go-kod/feat/sync-gitee
feat: add sync gitee
2 parents 56121cd + e66bd04 commit 06556d8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/sync-gitee.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
tags:
6+
- "*"
7+
8+
name: Sync to Gitee
9+
jobs:
10+
run:
11+
name: Run
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout source code
15+
uses: actions/checkout@v4
16+
- name: Mirror Github to Gitee
17+
uses: Yikun/[email protected]
18+
with:
19+
src: github/go-kod
20+
dst: gitee/go-kod
21+
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
22+
dst_token: ${{ secrets.GITEE_TOKEN }}
23+
account_type: org
24+
timeout: 600
25+
debug: true
26+
force_update: true
27+
static_list: "kod"

0 commit comments

Comments
 (0)