0
0

gitee-sync.yml 516 B

123456789101112131415161718
  1. name: Publish
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - dev
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Sync to Gitee 💕
  12. uses: wearerequired/git-mirror-action@master
  13. env:
  14. SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY_HOME }}
  15. with:
  16. source-repo: "git@github.com:zhontai/Admin.Core.git"
  17. destination-repo: "git@gitee.com:zhontai/Admin.Core.git"