sync-gitee.yml 426 B

1234567891011121314151617
  1. name: Sync to Gitee
  2. on:
  3. push:
  4. branches: [next]
  5. jobs:
  6. deploy-site-sync-gitee:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Sync to Gitee
  10. uses: wearerequired/git-mirror-action@master
  11. env:
  12. SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
  13. with:
  14. source-repo: git@github.com:jdf2e/nutui.git
  15. destination-repo: git@gitee.com:jd-platform-opensource/nutui.git