zhontai 4 жил өмнө
parent
commit
5355c0536b

+ 17 - 0
.github/workflows/gitee-sync.yml

@@ -0,0 +1,17 @@
+name: Publish 
+on:
+    push:
+        branches:
+            - master
+
+jobs:
+    build:
+        runs-on: ubuntu-latest
+        steps:
+            - name: Sync to Gitee 💕
+              uses: wearerequired/git-mirror-action@master
+              env:
+                  SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
+              with:
+                  source-repo: "git@github.com:zhontai/Admin.Core.git"
+                  destination-repo: "git@gitee.com:zhontai/Admin.Core.git"