mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
test(🔀): use wearerequired/git-mirror-action (#29012)
This commit is contained in:
parent
48842e2a49
commit
52e84f92e0
15
.github/workflows/mirror.yml
vendored
15
.github/workflows/mirror.yml
vendored
@ -1,14 +1,15 @@
|
||||
name: Mirror
|
||||
name: 🔀 Mirror to Gitee
|
||||
|
||||
on: [push, delete]
|
||||
on: [ push, delete, create ]
|
||||
|
||||
jobs:
|
||||
to_gitee:
|
||||
git-mirror:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'ant-design/ant-design'
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: pixta-dev/repository-mirroring-action@v1
|
||||
- uses: wearerequired/git-mirror-action@v1
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||
with:
|
||||
target_repo_url: git@gitee.com:ant-design/ant-design.git
|
||||
ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
|
||||
source-repo: 'git@github.com:ant-design/ant-design.git'
|
||||
destination-repo: 'git@gitee.com:ant-design/ant-design.git'
|
||||
|
Loading…
Reference in New Issue
Block a user