dotfiles/.github/workflows/gitee_sync.yml
2023-07-24 12:30:39 +08:00

25 lines
587 B
YAML

name: sync repos to gitee
on:
push: ~
schedule:
- cron: 10 4 * * *
workflow_dispatch: ~
jobs:
dotfiles:
runs-on: ubuntu-20.04
steps:
- name: DictXiong/dotfiles
uses: Yikun/hub-mirror-action@v1.3
with:
src: github/DictXiong
dst: gitee/dictxiong
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
src_account_type: user
dst_account_type: user
clone_style: "https"
debug: true
force_update: true
static_list: "dotfiles"
timeout: '600s'