mirror.yml 444 B

123456789101112131415161718
  1. name: 同步代码
  2. on:
  3. push:
  4. branches: [ master,jdk17 ]
  5. pull_request:
  6. branches: [ master,jdk17 ]
  7. jobs:
  8. sync:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: wearerequired/git-mirror-action@master #同步至 gitee
  12. env:
  13. SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
  14. with:
  15. source-repo: "git@github.com:lttcai-mesh/lttcai-ui.git"
  16. destination-repo: "git@gitee.com:log4j/lttcai-ui.git"