💚 增加 github action mirror.yml

This commit is contained in:
冷冷 2024-05-29 16:54:53 +08:00
parent 08cd07e8a6
commit c74be66b44

View File

@ -10,12 +10,6 @@ jobs:
sync: sync:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitlink
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "git@github.com:pig-mesh/pig.git"
destination-repo: "git@code.gitlink.org.cn:lengleng/pig.git"
- uses: wearerequired/git-mirror-action@master #同步至 gitee - uses: wearerequired/git-mirror-action@master #同步至 gitee
env: env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}