diff --git a/.github/workflows/sync_to_cnb.yml b/.github/workflows/sync_to_cnb.yml deleted file mode 100644 index 1369e4c..0000000 --- a/.github/workflows/sync_to_cnb.yml +++ /dev/null @@ -1,18 +0,0 @@ -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 diff --git a/reinstall.bat b/reinstall.bat index aa69843..d2ca44b 100644 --- a/reinstall.bat +++ b/reinstall.bat @@ -2,9 +2,10 @@ mode con cp select=437 >nul setlocal EnableDelayedExpansion -set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main -set confhome_cn=https://cnb.cool/bin456789/reinstall/-/git/raw/main -rem set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main +set confhome=https://git.dr1997.com/public/reinstall/raw/main +set confhome_cn= +rem 本仓库自用 fork: confhome 指向 git.dr1997.com/public/reinstall +rem confhome_cn=https://git.dr1997.com/public/reinstall/raw/main set pkgs=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,bind-utils,libiconv,binutils set cmds=curl,cpio,p7zip,dos2unix,jq,xz,gzip,zstd,openssl,nslookup,iconv,ar diff --git a/reinstall.sh b/reinstall.sh index cc9c0f2..e91163a 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -6,9 +6,11 @@ # alpine 默认没有 bash,因此 shebang 用 sh,再 exec 切换到 bash set -eE -confhome=https://raw.githubusercontent.com/bin456789/reinstall/main -confhome_cn=https://cnb.cool/bin456789/reinstall/-/git/raw/main -# confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main +confhome=https://git.dr1997.com/public/reinstall/raw/main +confhome_cn= +# 本仓库自用 fork: confhome 指向 git.dr1997.com/public/reinstall +# 仓库托管于腾讯云(国内), 国内/海外均直连本仓库, 无需 confhome_cn +# confhome_cn=https://git.dr1997.com/public/reinstall/raw/main # 用于判断 reinstall.sh 和 trans.sh 是否兼容 SCRIPT_VERSION=4BACD833-A585-23BA-6CBB-9AA4E08E0004