docs(cursor): 新增多种技术栈的最佳实践文档 #317
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 同步代码 | |
| on: | |
| push: | |
| branches: [ master,dev ] | |
| pull_request: | |
| branches: [ master,dev ] | |
| jobs: | |
| 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-ui.git" | |
| destination-repo: "[email protected]:lengleng/pig-ui.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-ui.git" | |
| destination-repo: "[email protected]:log4j/pig-ui.git" |