ci(gitcode): ADD CI mirror gitcode

This commit is contained in:
冷冷 2024-08-27 15:37:27 +08:00
parent d4a190d79f
commit ab993da733

View File

@ -7,6 +7,15 @@ on:
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: "git@github.com:pig-mesh/pig.git"
destination-repo: "git@gitcode.com:pig-mesh/pig.git"
gitlink:
runs-on: ubuntu-latest
steps: