From ba200fcc3b42ed9f555adab80623d0bfd5f271c4 Mon Sep 17 00:00:00 2001 From: StageGuard <1355416608@qq.com> Date: Mon, 19 Apr 2021 13:49:40 +0800 Subject: [PATCH] Add action that auto sync repo to gitee --- .github/workflows/syncToGitee.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/syncToGitee.yml diff --git a/.github/workflows/syncToGitee.yml b/.github/workflows/syncToGitee.yml new file mode 100644 index 0000000..ea2452e --- /dev/null +++ b/.github/workflows/syncToGitee.yml @@ -0,0 +1,15 @@ +name: Sync To Gitee + +on: [ push, delete, create ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + with: + source-repo: git@github.com:StageGuard/SkyAutoPlayerScript.git + destination-repo: git@gitee.com:stageguard/SkyAutoPlayerScript.git