Skip to content

Commit 8df7b48

Browse files
authored
sync up with gitee
1 parent c6a42a8 commit 8df7b48

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Sync
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Sync to Gitee
12+
uses: wearerequired/wearerequired/git-mirror-action@v1
13+
env:
14+
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
15+
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
16+
with:
17+
# 注意替换为你的 GitHub 源仓库地址
18+
source-repo: "git@github.com:Snailclimb/springboot-guide.git"
19+
# 注意替换为你的 Gitee 目标仓库地址
20+
destination-repo: "https://gitee.com/SnailClimb/springboot-guide.git"

0 commit comments

Comments
 (0)