From b72dc8b26549279d72b951b69b9e3a72f25c5405 Mon Sep 17 00:00:00 2001 From: Yuhui Huang Date: Wed, 4 May 2022 16:31:23 +0800 Subject: [PATCH] feat: mirror to gitee. --- .github/workflows/gitee.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/gitee.yml diff --git a/.github/workflows/gitee.yml b/.github/workflows/gitee.yml new file mode 100644 index 0000000..7dbc159 --- /dev/null +++ b/.github/workflows/gitee.yml @@ -0,0 +1,21 @@ +name: Sync to Gitee + +on: + push + +jobs: + run: + if: ${{ github.repository_owner == 'huanghongxun' }} + runs-on: ubuntu-latest + steps: + - name: Mirror Github to Gitee + uses: Yikun/hub-mirror-action@v1.1 + with: + src: github/huanghongxun + dst: gitee/huanghongxun + static_list: 'HMCL' + force_update: true + debug: true + dst_key: ${{ secrets.GITEE_SYNC_BOT_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_SYNC_BOT_TOKEN }} + cache_path: /github/workspace/hub-mirror-cache