We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1883ee7 commit 679e261Copy full SHA for 679e261
.github/workflows/deploy.yml
@@ -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
25
+ gitee-username: yanglbme
26
+ gitee-password: ${{ secrets.GITEE_PASSWORD }}
27
+ gitee-repo: doocs/awesome-ai
28
+ branch: main
0 commit comments