fix: 🔧 修复同步脚本错误的问题 #2
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: {} | |
push: | |
branches: | |
- main | |
jobs: | |
sync-to-gitee: | |
runs-on: ubuntu-latest | |
steps: | |
- name: gitee-mirror-action | |
uses: Yikun/hub-mirror-action@master | |
with: | |
src: github/viarotel-org | |
dst: gitee/viarotel | |
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} | |
dst_token: ${{ secrets.GITEE_TOKEN }} | |
src_account_type: org | |
dst_account_type: user | |
force_update: true |