From c28a2ecc1ef5cf3195ea740f17cfefbb1e7ad10b Mon Sep 17 00:00:00 2001
From: AnguseZhang <529133328@qq.com>
Date: Tue, 15 Nov 2022 14:17:42 +0800
Subject: [PATCH 1/3] Add Gitee_mirror
---
.github/workflows/mirror_gitee.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 .github/workflows/mirror_gitee.yml
diff --git a/.github/workflows/mirror_gitee.yml b/.github/workflows/mirror_gitee.yml
new file mode 100644
index 000000000..bf72465bc
--- /dev/null
+++ b/.github/workflows/mirror_gitee.yml
@@ -0,0 +1,19 @@
+name: Mirror to Gitee Repo
+
+on: [ push, delete, create ]
+
+# Ensures that only one mirror task will run at a time.
+concurrency:
+ group: git-mirror
+
+jobs:
+ git-mirror:
+ if: github.repository_owner == 'deepmodeling'
+ runs-on: ubuntu-latest
+ steps:
+ - uses: wearerequired/git-mirror-action@v1
+ env:
+ SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }}
+ with:
+ source-repo: "https://github.com/deepmodeling/dmff.git"
+ destination-repo: "git@gitee.com:deepmodeling/dmff.git"
From 6110ab4c045bd4fa23eb4503645ab1830de1043a Mon Sep 17 00:00:00 2001
From: AnguseZhang <529133328@qq.com>
Date: Tue, 15 Nov 2022 14:40:35 +0800
Subject: [PATCH 2/3] Fix mirror CI/CD
---
.github/workflows/mirror_gitee.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/mirror_gitee.yml b/.github/workflows/mirror_gitee.yml
index bf72465bc..ec58c3e6b 100644
--- a/.github/workflows/mirror_gitee.yml
+++ b/.github/workflows/mirror_gitee.yml
@@ -16,4 +16,4 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }}
with:
source-repo: "https://github.com/deepmodeling/dmff.git"
- destination-repo: "git@gitee.com:deepmodeling/dmff.git"
+ destination-repo: "git@gitee.com:deepmodeling/DMFF.git"
From 0e7d80e2305a21a26f3169aab9cdf2f7dc09bd2b Mon Sep 17 00:00:00 2001
From: AnguseZhang <529133328@qq.com>
Date: Sat, 3 Dec 2022 17:21:05 +0800
Subject: [PATCH 3/3] Update ben-prm.xml
---
examples/mbar/ben-prm.xml | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/examples/mbar/ben-prm.xml b/examples/mbar/ben-prm.xml
index bac99356d..591c1e7b1 100644
--- a/examples/mbar/ben-prm.xml
+++ b/examples/mbar/ben-prm.xml
@@ -18,12 +18,7 @@
-
-
-
-
-
-
\ No newline at end of file
+