dotfiles/.github/workflows/gitee_sync.yml

25 lines
587 B
YAML
Raw Normal View History

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