pig/.github/workflows/mirror.yml
2023-05-12 16:00:49 +08:00

17 lines
395 B
YAML

name: 同步代码
on:
push:
branches: [ master,dev ]
jobs:
sync:
runs-on: ubuntu-latest
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"