mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
ci: update mirror action
This commit is contained in:
parent
0b202064f7
commit
ca05d15bb7
13
.github/workflows/mirror.yml
vendored
13
.github/workflows/mirror.yml
vendored
@ -15,16 +15,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'ant-design/ant-design'
|
||||
steps:
|
||||
- if: github.event_name == 'push'
|
||||
- uses: wearerequired/git-mirror-action@v1
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||
with:
|
||||
source-repo: 'git@github.com:ant-design/ant-design.git'
|
||||
destination-repo: 'git@gitee.com:ant-design/ant-design.git'
|
||||
|
||||
- if: github.event_name == 'create' && github.event.ref_type == 'tag'
|
||||
- uses: wearerequired/git-mirror-action@v1
|
||||
- name: mirror
|
||||
if: github.event_name == 'push' || (github.event_name == 'create' && github.event.ref_type == 'tag')
|
||||
uses: wearerequired/git-mirror-action@v1
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user