Gitee repos mirror periodic job #283
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gitee repos mirror periodic job | |
on: | |
push: | |
watch: | |
types: started | |
workflow_dispatch: | |
inputs: | |
root_sol: | |
description: "sync title" | |
required: true | |
default: "sync" | |
schedule: | |
- cron: "0 23 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the Github organization repos to Gitee. | |
uses: Yikun/[email protected] | |
with: | |
src: github/HMUniversity | |
dst: gitee/HMUniversity | |
dst_key: ${{ secrets.PRIVATE_KEY }} | |
dst_token: ${{ secrets.TOKEN }} | |
account_type: org | |
timeout: '1h' | |
debug: true | |
force_update: true | |
black_list: "sync,.github" |