mirror of
https://github.com/lan-tianxiang/clone_scripts.git
synced 2025-07-16 08:53:47 +08:00
21 lines
566 B
YAML
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"
|