Sync to Gitee #168
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: Sync to Gitee | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 21 * * *' | |
jobs: | |
run: | |
name: Run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repository list exclude private and fork | |
id: repo | |
uses: yi-Xu-0100/[email protected] | |
- name: Mirror Github to Gitee | |
uses: Yikun/[email protected] | |
with: | |
src: github/robomaster-oss | |
dst: gitee/robomaster-oss | |
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
dst_token: ${{ secrets.GITEE_TOKEN }} | |
account_type: org | |
timeout: 600 | |
debug: true | |
force_update: true | |
static_list: ${{ steps.repo.outputs.repoList }} |