Skip to content

Commit e712a75

Browse files
committed
chore: action
1 parent 8ae8902 commit e712a75

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ jobs:
2121
source-repo: [email protected]:fantastic-admin/basic.git
2222
# 注意替换为你的 Gitee 目标仓库地址
2323
destination-repo: [email protected]:fantastic-admin/basic.git
24+
sync-to-atomgit:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Sync to AtomGit
28+
uses: wearerequired/git-mirror-action@master
29+
env:
30+
# 注意在 Settings->Secrets 配置 ATOMGIT_RSA_PRIVATE_KEY
31+
SSH_PRIVATE_KEY: ${{ secrets.ATOMGIT_RSA_PRIVATE_KEY }}
32+
with:
33+
# 注意替换为你的 GitHub 源仓库地址
34+
source-repo: [email protected]:fantastic-admin/basic.git
35+
# 注意替换为你的 AtomGit 目标仓库地址
36+
destination-repo: [email protected]:fantastic-admin/basic.git

0 commit comments

Comments
 (0)