fix: 删掉draw.io相关逻辑,等组件化后在构建中动态加入,从而减少开发环境的文件冗余 #26
Workflow file for this run
This file contains hidden or 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
| # .github/workflows/sync-cnb.yml | |
| name: Sync to CNB | |
| on: [push] | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Sync to CNB Repository | |
| uses: docker://tencentcom/git-sync | |
| env: | |
| PLUGIN_TARGET_URL: "https://cnb.cool/tencent/cherry-markdown/cherry-markdown.git" | |
| PLUGIN_AUTH_TYPE: "https" | |
| PLUGIN_USERNAME: "cnb" | |
| PLUGIN_PASSWORD: ${{ secrets.CHERRY_MARKDOWN_CNB_SYNC_GITHUB }} | |
| PLUGIN_FORCE: "true" |