From eedd553b1e3125d126710fddf1c9f79d828b997d Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Mon, 8 Feb 2021 17:41:09 +0800 Subject: [PATCH] Add index.html for prebuild results --- README.md | 2 +- upload.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cdc1247b..a5a0c8d5 100644 --- a/README.md +++ b/README.md @@ -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 git clone -b ip-lists https://github.com/gaoyifan/china-operator-ip.git diff --git a/upload.sh b/upload.sh index cad14824..5ea831bb 100755 --- a/upload.sh +++ b/upload.sh @@ -4,6 +4,7 @@ git clone -b ip-lists https://${GH_REF} ip-lists rm ip-lists/*.txt mv result/* 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.email $GIT_USER_EMAIL git add .