gitee-sync.yml 609 B

123456789101112131415161718192021222324252627
  1. on:
  2. push:
  3. branches:
  4. - master
  5. tags:
  6. - "*"
  7. name: Sync to Gitee
  8. jobs:
  9. run:
  10. name: Run
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout source code
  14. uses: actions/checkout@v1
  15. - name: Mirror Github to Gitee
  16. uses: Yikun/hub-mirror-action@v1.2
  17. with:
  18. src: github/TarsCloud
  19. dst: gitee/TarsCloud
  20. dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
  21. dst_token: ${{ secrets.GITEE_TOKEN }}
  22. account_type: org
  23. timeout: 600
  24. debug: true
  25. force_update: true
  26. static_list: "TarsCpp"