diff --git a/.github/workflows/sync_to_gitlab.yml b/.github/workflows/sync_to_gitlab.yml
new file mode 100644
index 0000000..eb35139
--- /dev/null
+++ b/.github/workflows/sync_to_gitlab.yml
@@ -0,0 +1,18 @@
+name: 同步到 Gitlab
+on:
+ workflow_dispatch:
+ push:
+jobs:
+ run:
+ name: 同步到 Gitlab
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: https://gitlab.com/bin456789/reinstall.git
+ GIT_USERNAME: username
+ GIT_PASSWORD: ${{ secrets.GITLAB_TOKEN }}
+ PUSH_ALL_REFS: false
diff --git a/.github/workflows/sync_to_jihulab.yml b/.github/workflows/sync_to_gitlabcn.yml
similarity index 80%
rename from .github/workflows/sync_to_jihulab.yml
rename to .github/workflows/sync_to_gitlabcn.yml
index cd21b94..3f05944 100644
--- a/.github/workflows/sync_to_jihulab.yml
+++ b/.github/workflows/sync_to_gitlabcn.yml
@@ -1,10 +1,10 @@
-name: 同步到极狐
+name: 同步到 Gitlab CN
on:
workflow_dispatch:
push:
jobs:
run:
- name: 同步到极狐
+ name: 同步到 Gitlab CN
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -15,3 +15,4 @@ jobs:
REMOTE: https://jihulab.com/bin456789/reinstall.git
GIT_USERNAME: username
GIT_PASSWORD: ${{ secrets.JIHULAB_TOKEN }}
+ PUSH_ALL_REFS: false
diff --git a/README.en.md b/README.en.md
index c33145a..e6c9503 100644
--- a/README.en.md
+++ b/README.en.md
@@ -71,7 +71,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
For server inside China:
```bash
-curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
+curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
```
## Download (Current system is
Windows)
@@ -104,7 +104,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
For server inside China:
```batch
-certutil -urlcache -f -split https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.bat
+certutil -urlcache -f -split https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.bat
```
## Usage
@@ -254,7 +254,7 @@ bash reinstall.sh netboot.xyz
- Hyper-V Server \*
- Azure Stack HCI \*
-#### ~~Method 1: Let the Script Automatically Search for ISO (Recommended)~~
+#### ~~Method 1: Let the Script Automatically Search for ISO~~
> [!CAUTION]
> The ISO repository currently prohibits direct link downloads, so this method is no longer effective.
diff --git a/README.md b/README.md
index 823bdf3..fe48523 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
国内服务器:
```bash
-curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
+curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
```
## 下载(当前系统是
Windows)
@@ -104,7 +104,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
国内服务器:
```batch
-certutil -urlcache -f -split https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.bat
+certutil -urlcache -f -split https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.bat
```
## 使用
diff --git a/reinstall.bat b/reinstall.bat
index b5a447e..67955dd 100644
--- a/reinstall.bat
+++ b/reinstall.bat
@@ -3,7 +3,7 @@ mode con cp select=437 >nul
setlocal EnableDelayedExpansion
set confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
-set confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main
+set confhome_cn=https://gitlab.com/bin456789/reinstall/-/raw/main
rem set confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
set pkgs=curl,cpio,p7zip,ipcalc,dos2unix,jq,xz,gzip,zstd,openssl,bind-utils,libiconv,binutils
diff --git a/reinstall.sh b/reinstall.sh
index 58b8a88..e36f034 100644
--- a/reinstall.sh
+++ b/reinstall.sh
@@ -4,7 +4,7 @@
set -eE
confhome=https://raw.githubusercontent.com/bin456789/reinstall/main
-confhome_cn=https://jihulab.com/bin456789/reinstall/-/raw/main
+confhome_cn=https://gitlab.com/bin456789/reinstall/-/raw/main
# confhome_cn=https://www.ghproxy.cc/https://raw.githubusercontent.com/bin456789/reinstall/main
# 默认密码