ソースを参照

Create sync-gitee.yml

sync gitee
richard1015 4 年 前
コミット
219614a2aa
1 ファイル変更17 行追加0 行削除
  1. 17 0
      .github/workflows/sync-gitee.yml

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

@@ -0,0 +1,17 @@
+name: Sync to Gitee
+
+on:
+  push:
+    branches: [next]
+
+jobs:
+  deploy-site-sync-gitee:
+    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:jdf2e/nutui.git
+          destination-repo: git@gitee.com:jd-platform-opensource/nutui.git