|
|
@@ -1,4 +1,4 @@
|
|
|
-name: Sync to Gitee
|
|
|
+name: Sync to Gitee、Gitcode
|
|
|
|
|
|
on:
|
|
|
push:
|
|
|
@@ -15,3 +15,11 @@ jobs:
|
|
|
with:
|
|
|
source-repo: git@github.com:jdf2e/nutui.git
|
|
|
destination-repo: git@gitee.com:jd-platform-opensource/nutui.git
|
|
|
+ steps:
|
|
|
+ - name: Sync to Gitcode
|
|
|
+ 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@gitcode.net:jd/nutui.git
|