Files
clone_scripts_clone/.github/workflows/sync_to_gitee.yml
2021-03-27 14:51:23 +08:00

21 lines
566 B
YAML

name: sync_to_gitee
on:
workflow_dispatch:
schedule:
- cron: '*/15 * * * *'
jobs:
sync:
runs-on: ubuntu-latest
if: github.repository == 'lan-tianxiang/clone_scripts'
timeout-minutes: 2
steps:
- name: sync_to_gitee
uses: Yikun/hub-mirror-action@master
with:
src: github/lan-tianxiang
dst: gitee/highdimen
dst_key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
white_list: "clone_scripts,jd_shell,jd_scripts"
#black_list: "hashes"