core: 用于引导参数时不需要判断 tty 是否存在和可写 #157
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
| name: 同步到 CNB | |
| on: | |
| workflow_dispatch: | |
| push: | |
| jobs: | |
| run: | |
| name: 同步到 CNB | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: yesolutions/mirror-action@master | |
| with: | |
| REMOTE: https://cnb.cool/bin456789/reinstall.git | |
| GIT_USERNAME: cnb | |
| GIT_PASSWORD: ${{ secrets.CNB_TOKEN }} | |
| PUSH_ALL_REFS: false |