SyncToGitee.yml 985 B

1234567891011121314151617181920212223242526272829303132333435
  1. name: SyncToGitee
  2. on:
  3. push:
  4. branches:
  5. - main
  6. jobs:
  7. repo-sync:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout source codes
  11. uses: actions/checkout@v4
  12. - name: Mirror the Github organization repos to Gitee.
  13. uses: Yikun/hub-mirror-action@v1.4
  14. with:
  15. src: 'github/RapidAI'
  16. dst: 'gitee/RapidAI'
  17. dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
  18. dst_token: ${{ secrets.GITEE_TOKEN }}
  19. force_update: true
  20. # only sync this repo
  21. static_list: "RapidOCR"
  22. debug: true
  23. - name: Mirror the Github organization repos to Gitee.
  24. uses: Yikun/hub-mirror-action@v1.4
  25. with:
  26. src: 'github/RapidAI'
  27. dst: 'gitee/openKylin'
  28. dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
  29. dst_token: ${{ secrets.GITEE_TOKEN }}
  30. force_update: true
  31. # only sync this repo
  32. static_list: "RapidOCR"
  33. debug: true