spug/.github/workflows/github_to_gitee.yml
2020-05-05 12:42:22 +08:00

23 lines
629 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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/gitee-mirror-action@v0.01
with:
src: github/openspug
dst: gitee/openspug
# Gitee对应的秘钥
private_key: ${{ secrets.mac_pro_videojj }}
# 需要同步的Github组织名
github_org: openspug
# 需要同步到的Gitee的组织名目的
gitee_org: openspug