-
Notifications
You must be signed in to change notification settings - Fork 961
38 lines (36 loc) · 1.12 KB
/
mirror.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 同步代码
on:
push:
branches: [ master,jdk17,jdk17-dev,dev ]
pull_request:
branches: [ master,jdk17,jdk17-dev,dev ]
jobs:
gitcode:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitcode
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:pig-mesh/pig.git"
gitlink:
runs-on: ubuntu-latest
steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitlink
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:lengleng/pig.git"
gitee:
runs-on: ubuntu-latest
container:
image: "centos:8"
steps:
- uses: wearerequired/git-mirror-action@master #同步至 gitee
env:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
with:
source-repo: "[email protected]:pig-mesh/pig.git"
destination-repo: "[email protected]:log4j/pig.git"