name: Publish
on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Sync to Gitee 💕
        uses: wearerequired/git-mirror-action@master
        env:
          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY_HOME }}
        with:
          source-repo: 'git@github.com:zhontai/admin.ui.plus.git'
          destination-repo: 'git@gitee.com:zhontai/admin.ui.plus.git'
