Browse Source

Add 'ohters/.github/workflows/gitee-mirror.yml'

天问 3 years ago
parent
commit
b5199bf76e
1 changed files with 14 additions and 0 deletions
  1. 14 0
      ohters/.github/workflows/gitee-mirror.yml

+ 14 - 0
ohters/.github/workflows/gitee-mirror.yml

@@ -0,0 +1,14 @@
+name: Gitee Mirror
+
+on: [ push, delete, create ]
+
+jobs:
+  git-mirror:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: wearerequired/git-mirror-action@v1
+        env:
+          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
+        with:
+          source-repo: 'git@github.com:xinntao/BasicSR.git'
+          destination-repo: 'git@gitee.com:xinntao/BasicSR.git'