2022-08-09 14:32:59 +08:00
|
|
|
name: 同步代码
|
2022-08-09 14:30:12 +08:00
|
|
|
|
|
|
|
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"
|
2023-06-23 11:29:10 +08:00
|
|
|
- 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@atomgit.com:log4j/pig.git"
|