Skip to content

🔀 Sync mirror to Gitee #3338

🔀 Sync mirror to Gitee

🔀 Sync mirror to Gitee #3338

Workflow file for this run

name: 🔀 Sync mirror to Gitee
on:
push:
branches:
- main
- docs
create:
jobs:
mirror:
runs-on: ubuntu-latest
if: github.repository == 'TuSimple/naive-ui'
steps:
- name: mirror
continue-on-error: true
if: github.event_name == 'push' || (github.event_name == 'create' && github.event.ref_type == 'tag')
uses: wearerequired/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
with:
source-repo: '[email protected]:TuSimple/naive-ui.git'
destination-repo: '[email protected]:naive-ui/naive-ui.git'