gitee-mirror.yml 366 B

1234567891011121314
  1. name: Gitee Mirror
  2. on: [ push, delete, create ]
  3. jobs:
  4. git-mirror:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: wearerequired/git-mirror-action@v1
  8. env:
  9. SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
  10. with:
  11. source-repo: 'git@github.com:xinntao/BasicSR.git'
  12. destination-repo: 'git@gitee.com:xinntao/BasicSR.git'