Github文件加速
-为访问Github文件进行加速
- - -GitHub 链接带不带协议头均可,支持 release、archive 以及文件,转换后链接均可使用。
-文件大小限制
-...
-白名单状态
-...
-黑名单状态
-...
-diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 40a60f6..73d9a4c 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -59,6 +59,13 @@ jobs: else echo "DEV-VERSION file not found!" && exit 1 fi + + - name: 拉取前端 + run: | + sudo git clone https://github.com/WJQSERVER-STUDIO/GHPrxoy-Frontend.git pages + sudo rm -rf pages/.git/ + + - name: 安装 Go uses: actions/setup-go@v3 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76306c5..37c99a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,12 @@ jobs: else echo "VERSION file not found!" && exit 1 fi + + - name: 拉取前端 + run: | + sudo git clone https://github.com/WJQSERVER-STUDIO/GHPrxoy-Frontend.git pages + sudo rm -rf pages/.git/ + - name: 安装 Go uses: actions/setup-go@v3 with: diff --git a/pages/bootstrap/favicon.ico b/pages/bootstrap/favicon.ico deleted file mode 100644 index 9c04d31..0000000 Binary files a/pages/bootstrap/favicon.ico and /dev/null differ diff --git a/pages/bootstrap/index.html b/pages/bootstrap/index.html deleted file mode 100644 index a2bc33e..0000000 --- a/pages/bootstrap/index.html +++ /dev/null @@ -1,104 +0,0 @@ - - - -
- - -为访问Github文件进行加速
- - -GitHub 链接带不带协议头均可,支持 release、archive 以及文件,转换后链接均可使用。
-...
-...
-...
-高速稳定的 GitHub 资源访问解决方案
-
- git clone https://example.com/https://github.com/user/project.git
- git clone https://user:your_token@example.com/https://github.com/user/project.git
- wget https://example.com/https://raw.githubusercontent.com/user/project/main/README.md
- curl -LO https://example.com/https://github.com/user/project/releases/download/v1.0.0/project_1.0.0.amd64.tar.gz
- https://raw.githubusercontent.com/user/repo/main/file.txt
- https://github.com/user/repo/archive/main.zip
- https://github.com/user/repo/releases/download/v1.0.0/app.zip
- https://gist.githubusercontent.com/user/gist_id/raw/file.txt
- git clone https://github.com/user/repo.git
-