We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d5b3b commit d130035Copy full SHA for d130035
.github/workflows/Sync-to-gitee.yml
@@ -0,0 +1,24 @@
1
+name: Sync To Gitee
2
+
3
+on: # 这里是github action的触发条件
4
+ schedule:
5
+ - cron: '0 8 * * *' # 每日24点进行同步
6
+ push:
7
+ delete:
8
+ create:
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
15
+ - name: Sync yourreponame to Gitee
16
+ uses: wearerequired/git-mirror-action@master
17
+ env:
18
+ # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
19
+ SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
20
+ with:
21
+ # 注意替换为你的 GitHub 源仓库地址
22
+ source-repo: [email protected]:cit965/k8s-learning.git
23
+ # 注意替换为你的 Gitee 目标仓库地址
24
+ destination-repo: [email protected]:mouuii/k8s-learning.git
0 commit comments