优化下载链接重定向逻辑,增加可用性检查 (#234) #303
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 | |
jobs: | |
run: | |
if: ${{ github.repository_owner == 'HMCL-dev' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror Github to Gitee | |
uses: Yikun/[email protected] | |
with: | |
src: github/HMCL-dev | |
dst: gitee/huanghongxun | |
static_list: 'HMCL-docs' | |
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 |