sync-gitcode.yml 413 B

1234567891011121314151617
  1. name: Sync to Gitcode
  2. on:
  3. push:
  4. branches: [next]
  5. jobs:
  6. deploy-site-sync-gitcode:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Sync to Gitcode
  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@gitcode.net:jd/nutui.git