File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ jobs:
1111 - uses : actions/checkout@v3
1212 with :
1313 fetch-depth : 0
14- - uses : pixta-dev/repository-mirroring-action@v1
14+ - uses : wearerequired/git-mirror-action@v1
15+ env :
16+ # SSH 密钥(用于 SSH 协议)或 PAT(用于 HTTPS 协议)
17+ SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
1518 with :
16- target_repo_url :
17- git@jihulab .com:KingPrimes/DataSource.git
18- ssh_private_key :
19- ${{ secrets.SSH_PRIVATE_KEY }}
19+ # 目标仓库地址(支持 SSH 或 HTTPS)
20+ source-repo : " git@github .com:KingPrimes/DataSource.git" # 当前仓库地址
21+ destination-repo : " git@jihulab.com:KingPrimes/DataSource.git " # GitLab 目标地址
22+
2023 to_gitcode_com :
2124 runs-on : ubuntu-latest
2225 steps :
2831 REMOTE : ' https://gitcode.com/KingPrimes/DataSource.git'
2932 GIT_USERNAME : KingPrimes
3033 GIT_PASSWORD : ${{ secrets.GIT_CODE_COM }}
34+
3135 to_gitee :
3236 runs-on : ubuntu-latest
3337 steps :
You can’t perform that action at this time.
0 commit comments