mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-13 21:02:37 +08:00
Add index.html for prebuild results
This commit is contained in:
parent
e57917e91f
commit
eedd553b1e
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
### 使用预生成结果
|
### 使用预生成结果
|
||||||
|
|
||||||
IP列表(CIDR格式)保存在仓库的[ip-lists分支](https://github.com/gaoyifan/china-operator-ip/tree/ip-lists)中,Travis CI每日自动更新。
|
IP列表(CIDR格式)保存在仓库的[ip-lists分支](https://gaoyifan.github.io/china-operator-ip/index.html)中,Travis CI每日自动更新。
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone -b ip-lists https://github.com/gaoyifan/china-operator-ip.git
|
git clone -b ip-lists https://github.com/gaoyifan/china-operator-ip.git
|
||||||
|
@ -4,6 +4,7 @@ git clone -b ip-lists https://${GH_REF} ip-lists
|
|||||||
rm ip-lists/*.txt
|
rm ip-lists/*.txt
|
||||||
mv result/* ip-lists
|
mv result/* ip-lists
|
||||||
cd ip-lists
|
cd ip-lists
|
||||||
|
tree -H . -P "*.txt" -T "China Operator IP - prebuild results" > index.html
|
||||||
git config user.name $GIT_USER_NAME
|
git config user.name $GIT_USER_NAME
|
||||||
git config user.email $GIT_USER_EMAIL
|
git config user.email $GIT_USER_EMAIL
|
||||||
git add .
|
git add .
|
||||||
|
Loading…
Reference in New Issue
Block a user