Browse Source

Create gitee-sync.yml

zhontai 4 năm trước cách đây
mục cha
commit
5355c0536b
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      .github/workflows/gitee-sync.yml

+ 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"