Commit 57447d97971e493444894e1232e1c33668029d83
Committed by
GitHub
1 parent
3d813db7
Create gitee-mirro.yml
Showing
1 changed file
with
27 additions
and
0 deletions
.github/workflows/gitee-mirro.yml
0 → 100644
| 1 | +# This is a basic workflow to help you get started with Actions | |
| 2 | + | |
| 3 | +name: gitee-mirror<sync2gitee.com> | |
| 4 | + | |
| 5 | +# Controls when the action will run. Triggers the workflow on push or pull request | |
| 6 | +# events but only for the master branch | |
| 7 | +on:push | |
| 8 | + | |
| 9 | +# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| 10 | +jobs: | |
| 11 | + # This workflow contains a single job called "build" | |
| 12 | + build: | |
| 13 | + # The type of runner that the job will run on | |
| 14 | + runs-on: ubuntu-latest | |
| 15 | + | |
| 16 | + # Steps represent a sequence of tasks that will be executed as part of the job | |
| 17 | + steps: | |
| 18 | + - name: Mirror the Github organization repos to Gitee. | |
| 19 | + uses: Yikun/hub-mirror-action@master | |
| 20 | + with: | |
| 21 | + src: github/ly525 | |
| 22 | + dst: gitee/ly525 | |
| 23 | + dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
| 24 | + dst_token: ${{ secrets.GITEE_TOKEN }} | |
| 25 | + static_list: "luban-h5" | |
| 26 | + force_update: true | |
| 27 | + account_type: user | ... | ... |