Add action that auto sync repo to gitee

This commit is contained in:
StageGuard
2021-04-19 13:49:40 +08:00
parent 6145094332
commit ba200fcc3b

15
.github/workflows/syncToGitee.yml vendored Normal file
View File

@@ -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