Skip to content

Commit 679e261

Browse files
committed
chore: auto sync to gitee
1 parent 1883ee7 commit 679e261

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
sync:
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'doocs/awesome-ai'
13+
steps:
14+
- name: Sync to gitee.com
15+
uses: wearerequired/git-mirror-action@master
16+
env:
17+
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
18+
with:
19+
source-repo: [email protected]:doocs/awesome-ai.git
20+
destination-repo: [email protected]:Doocs/awesome-ai.git
21+
22+
- name: Build Gitee Pages
23+
uses: yanglbme/gitee-pages-action@main
24+
with:
25+
gitee-username: yanglbme
26+
gitee-password: ${{ secrets.GITEE_PASSWORD }}
27+
gitee-repo: doocs/awesome-ai
28+
branch: main

0 commit comments

Comments
 (0)