]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - .github/workflows/sync2gitee.yml
issue template update
[Ventoy.git] / .github / workflows / sync2gitee.yml
1 name: Mirror GitHub to Gitee
2
3 on:
4 # Triggers the workflow on push or pull request events but only for the main branch
5 push:
6 branches: [ master ]
7
8 # Allows you to run this workflow manually from the Actions tab
9 workflow_dispatch:
10
11 jobs:
12 run:
13 name: Sync-GitHub-to-Gitee
14 if: ${{ github.repository_owner == 'ventoy' }}
15 runs-on: ubuntu-latest
16 steps:
17 - name: Mirror the Github repos to Gitee.
18 uses: Yikun/hub-mirror-action@master
19 with:
20 src: github/ventoy
21 dst: gitee/LongPanda
22 dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
23 dst_token: ${{ secrets.GITEE_TOKEN }}
24 static_list: "Ventoy"
25 force_update: true