Merge branch 'ant-design:master' into master #1
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 to Gitee | |
on: | |
push: | |
branches: | |
- master | |
- gh-pages | |
- feature | |
- 2.x-stable | |
- 3.x-stable | |
- 4.x-stable | |
create: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
mirror: | |
permissions: | |
contents: none | |
runs-on: ubuntu-latest | |
if: github.repository == 'ant-design/ant-design' | |
steps: | |
- name: mirror | |
continue-on-error: true | |
if: github.event_name == 'push' || (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'workflow_dispatch' | |
uses: wearerequired/git-mirror-action@v1 | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }} | |
with: | |
source-repo: '[email protected]:ant-design/ant-design.git' | |
destination-repo: '[email protected]:ant-design/ant-design.git' |