2022-05-04 16:31:23 +08:00
|
|
|
name: Sync to Gitee
|
|
|
|
|
|
|
|
on:
|
|
|
|
push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run:
|
2024-02-08 23:46:43 +08:00
|
|
|
if: ${{ github.repository_owner == 'HMCL-dev' }}
|
2022-05-04 16:31:23 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Mirror Github to Gitee
|
2024-05-02 16:23:30 +08:00
|
|
|
uses: Yikun/hub-mirror-action@v1.4
|
2022-05-04 16:31:23 +08:00
|
|
|
with:
|
2024-02-08 23:46:43 +08:00
|
|
|
src: github/HMCL-dev
|
2022-05-04 16:31:23 +08:00
|
|
|
dst: gitee/huanghongxun
|
2022-05-04 17:26:33 +08:00
|
|
|
static_list: 'HMCL-docs'
|
2022-05-04 16:31:23 +08:00
|
|
|
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
|