Sync to Gitee #2118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync to Gitee | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 1 * * *' | |
jobs: | |
deploy-site-sync-gitee: | |
if: github.repository == 'jdf2e/nutui' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync to Gitee | |
uses: wearerequired/git-mirror-action@master | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | |
with: | |
source-repo: [email protected]:jdf2e/nutui.git | |
destination-repo: [email protected]:jd-platform-opensource/nutui.git |