🎈 perf: 容错处理 #52
This file contains 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: Sync Mirror | |
on: [ push, pull_request ] | |
# 确保一次只运行一个镜像任务 | |
concurrency: | |
group: git-mirror | |
jobs: | |
# 自动同步镜像 | |
git-mirror: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: wearerequired/git-mirror-action@v1 | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
with: | |
source-repo: 'git@github.com:wtklbm/crm.git' | |
destination-repo: 'git@gitee.com:wtklbm/crm.git' |