We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a42a8 commit 8df7b48Copy full SHA for 8df7b48
.github/workflows/main.yml
@@ -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