新增纯净模式 & 更新文档 #430
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync to Gitee | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| repo-sync: | |
| env: | |
| dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
| dst_token: ${{ secrets.GITEE_TOKEN }} | |
| gitee_user: ${{ secrets.GITEE_USER }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| - name: sync github -> gitee | |
| uses: Yikun/hub-mirror-action@master | |
| if: env.dst_key && env.dst_token && env.gitee_user | |
| with: | |
| src: github/SuperManito | |
| dst: gitee/SuperManito | |
| dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
| dst_token: ${{ secrets.GITEE_TOKEN }} | |
| static_list: "LinuxMirrors" | |
| force_update: true |