Skip to content

Commit

Permalink
chore: auto sync to gitee
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Mar 21, 2024
1 parent 3982646 commit f50b4be
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: deploy

on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
if: github.repository == 'doocs/awesome-ai'
steps:
- name: Sync to gitee.com
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
with:
source-repo: [email protected]:doocs/awesome-ai.git
destination-repo: [email protected]:Doocs/awesome-ai.git

- name: Build Gitee Pages
uses: yanglbme/gitee-pages-action@main
with:
gitee-username: yanglbme
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: doocs/awesome-ai
branch: main

0 comments on commit f50b4be

Please sign in to comment.