mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 13:43:51 +08:00
19 lines
435 B
YAML
19 lines
435 B
YAML
name: 同步代码
|
|
|
|
on:
|
|
push:
|
|
branches: [ master,jdk17 ]
|
|
pull_request:
|
|
branches: [ master,jdk17 ]
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: wearerequired/git-mirror-action@master #同步至 gitee
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
|
|
with:
|
|
source-repo: "git@github.com:pig-mesh/pig-ui.git"
|
|
destination-repo: "git@gitee.com:log4j/pig-ui.git"
|