Merge pull request #434 from GreatLazyMan/clusterlink #12
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: Github repos migrate periodic job | |
on: | |
push: | |
# Runs at every pull requests submitted in master branch | |
branches: | |
- 'main' | |
jobs: | |
repo-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Migrate the Github organization repos to Gitee. | |
uses: Yikun/hub-mirror-action@master | |
with: | |
src: 'github/kosmos-io' | |
dst: 'gitee/kosmos_e' | |
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
dst_token: ${{ secrets.GITEE_TOKEN }} | |
timeout: 600 | |
debug: true | |
account_type: org | |
force_update: true | |
static_list: 'kosmos' |