2022-05-09 11:48:54 +08:00
|
|
|
name: sync repos to gitee
|
|
|
|
on:
|
2022-08-25 00:23:29 +08:00
|
|
|
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:
|
2023-07-24 12:30:39 +08:00
|
|
|
- name: DictXiong/dotfiles
|
|
|
|
uses: Yikun/hub-mirror-action@v1.3
|
2022-05-09 11:48:54 +08:00
|
|
|
with:
|
2023-07-24 12:30:39 +08:00
|
|
|
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
|
2023-07-24 12:30:39 +08:00
|
|
|
dst_account_type: user
|
|
|
|
clone_style: "https"
|
|
|
|
debug: true
|
|
|
|
force_update: true
|
|
|
|
static_list: "dotfiles"
|
|
|
|
timeout: '600s'
|