Add action that auto sync repo to gitee
This commit is contained in:
15
.github/workflows/syncToGitee.yml
vendored
Normal file
15
.github/workflows/syncToGitee.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user