core: 国内使用 cnb 仓库

This commit is contained in:
bin456789
2025-04-04 07:50:22 +08:00
parent 5b5b2698e2
commit d5b9c2da34
5 changed files with 24 additions and 6 deletions

18
.github/workflows/sync_to_cnb.yml vendored Normal file
View File

@ -0,0 +1,18 @@
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