Compare commits
1
Commits
57186bf105
...
71133bb60e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71133bb60e |
@@ -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
|
||||
+4
-3
@@ -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
|
||||
|
||||
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user