sync to gitee

This commit is contained in:
h7ml 2021-05-31 09:54:02 +08:00
parent 65a7cdd256
commit e17e3028e4
No known key found for this signature in database
GPG Key ID: A37A4F13B34F2202

View File

@ -0,0 +1,27 @@
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