From 9e0cd7397882529c932a56ca266676f78f869386 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Fri, 17 Jan 2020 15:12:25 +0800 Subject: [PATCH] Add Gitee repos mirror periodic job Add Gitee repos mirror periodic job in Kunpeng --- .github/workflows/gitee-repos-mirror.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/gitee-repos-mirror.yml diff --git a/.github/workflows/gitee-repos-mirror.yml b/.github/workflows/gitee-repos-mirror.yml new file mode 100644 index 0000000..3af84df --- /dev/null +++ b/.github/workflows/gitee-repos-mirror.yml @@ -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/gitee-mirror-action@v0.01 + 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