File tree Expand file tree Collapse file tree 2 files changed +189
-121
lines changed
Expand file tree Collapse file tree 2 files changed +189
-121
lines changed Original file line number Diff line number Diff line change 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/git-mirror-action@master
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:doocs/source-code-hunter.git"
19+ # 注意替换为你的 Gitee 目标仓库地址
20+ destination-repo : " git@gitee.com:Doocs/source-code-hunter.git"
21+
22+ - name : Build Gitee Pages
23+ uses : yanglbme/gitee-pages-action@master
24+ with :
25+ # 注意替换为你的 Gitee 用户名
26+ gitee-username : yanglbme
27+ # 注意在 Settings->Secrets 配置 GITEE_PASSWORD
28+ gitee-password : ${{ secrets.GITEE_PASSWORD }}
29+ # 注意替换为你的 Gitee 仓库
30+ gitee-repo : doocs/source-code-hunter
You can’t perform that action at this time.
0 commit comments