Skip to content

Commit a6e64c7

Browse files
authored
Merge pull request #127 from tuoping/master
add .github/workflows/mirror_gitee.yml
2 parents a741567 + d592634 commit a6e64c7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/mirror_gitee.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Mirror to Gitee Repo
2+
3+
on: [ push, delete, create ]
4+
5+
# Ensures that only one mirror task will run at a time.
6+
concurrency:
7+
group: git-mirror
8+
9+
jobs:
10+
git-mirror:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: wearerequired/git-mirror-action@v1
14+
env:
15+
ORGANIZATION: deepmodeling
16+
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }}
17+
with:
18+
source-repo: "https://github.com/deepmodeling/dpdispatcher.git"
19+
destination-repo: "git@gitee.com:deepmodeling/dpdispatcher.git"

0 commit comments

Comments
 (0)