Skip to content

Commit

Permalink
Merge pull request #4 from Yikun/gitee-sync
Browse files Browse the repository at this point in the history
Add Gitee repos mirror periodic job
  • Loading branch information
Yikun authored Jan 17, 2020
2 parents 7141e59 + 9e0cd73 commit 47ba3d7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/gitee-repos-mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Gitee repos mirror periodic job

on:
schedule:
# Runs at 01:00 UTC (9:00 AM Beijing) every day
- cron: '0 1 * * *'

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Mirror the Github organization repos to Gitee.
uses: Yikun/[email protected]
with:
# private SSH key
private_key: ${{ secrets.GITEE_PRIVATE_KEY }}
# org name in Github. Such as `kunpengcompute`.
github_org: kunpengcompute
# org name in Gitee. Such as `kunpengcompute`.
gitee_org: kunpengcompute

0 comments on commit 47ba3d7

Please sign in to comment.