mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-30 03:07:40 +08:00
Create gitee-repos-mirror.yml
This commit is contained in:
parent
9abf0668fb
commit
ee7dc35f23
28
.github/workflows/gitee-repos-mirror.yml
vendored
Normal file
28
.github/workflows/gitee-repos-mirror.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Gitee repos mirror periodic job
|
||||
|
||||
on:
|
||||
push:
|
||||
watch:
|
||||
types: started
|
||||
schedule:
|
||||
- cron: "0 23 * * *"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Mirror the Github organization repos to Gitee.
|
||||
uses: Yikun/hub-mirror-action@v1.0
|
||||
with:
|
||||
src: github/dgiot
|
||||
dst: gitee/dgiiot
|
||||
dst_key: ${{ secrets.PRIVATE_KEY }}
|
||||
dst_token: ${{ secrets.TOKEN }}
|
||||
account_type: org
|
||||
timeout: 600
|
||||
debug: true
|
||||
force_update: true
|
||||
black_list: ""
|
Loading…
Reference in New Issue
Block a user