github repos to gitee job #1377
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 to gitee job | |
on: | |
# 如果需要PR触发把push前的#去掉 | |
# push: | |
schedule: | |
# 每天北京时间1点跑 | |
- cron: '0 1 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mirror the Github organization repos to Gitee. | |
uses: Yikun/[email protected] | |
with: | |
src: github/openspug | |
dst: gitee/openspug | |
# Gitee对应的秘钥 | |
private_key: ${{ secrets.mac_pro_videojj }} | |
# 需要同步的Github组织名(源) | |
github_org: openspug | |
# 需要同步到的Gitee的组织名(目的) | |
gitee_org: openspug |