diff --git a/.github/workflows/periodical-update.yaml b/.github/workflows/periodical-update.yaml
index 8793439f..1a4a0133 100644
--- a/.github/workflows/periodical-update.yaml
+++ b/.github/workflows/periodical-update.yaml
@@ -52,6 +52,7 @@ jobs:
CURRENT_DIR=$(pwd)
cd dist
./ipip2mmdb -s ./CN-ip-cidr.txt -d Country.mmdb
+ sed -e '/^$/d' -e 's/^/ - /' ./CN-ip-cidr.txt | sed -e '1s/^/payload:\n/' > CN-ip-cidr.yaml
cd $CURRENT_DIR
- name: Push artifacts to release branch
@@ -66,10 +67,12 @@ jobs:
git rm -rf .
cp -rf dist/CN-ip-cidr.txt ./
+ cp -rf dist/CN-ip-cidr.yaml ./
cp -rf dist/Country.mmdb ./
git add Country.mmdb
git add CN-ip-cidr.txt
+ git add CN-ip-cidr.yaml
git commit -am "Updated at $(date)"
git branch -D release
diff --git a/README.md b/README.md
index 27d49251..fe9ad41d 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,7 @@ GeoIP2 数据库的大小仅为 111 KB,对比原来庞大的 4 MB 数据库,
| 📦 项目 | 📃 文件 | 🐙 GitHub RAW | 🚀 CDN 加速 | 🔧 适用范围
| :--: | :--: | :--: | :--: | ---- |
| IP-CIDR 列表 | CN-ip-cidr.txt | [点我下载](https://github.com/Hackl0us/GeoIP2-CN/raw/release/CN-ip-cidr.txt) | [点我起飞](https://cdn.jsdelivr.net/gh/Hackl0us/GeoIP2-CN@release/CN-ip-cidr.txt) | 防火墙、较老的代理工具等 |
+| IP-CIDR 列表 | CN-ip-cidr.yaml | [点我下载](https://github.com/Hackl0us/GeoIP2-CN/raw/release/CN-ip-cidr.yaml) | [点我起飞](https://cdn.jsdelivr.net/gh/Hackl0us/GeoIP2-CN@release/CN-ip-cidr.yaml) | Clash Premium |
| GeoIP2 数据库 | Country.mmdb | [点我下载](https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb) | [点我起飞](https://cdn.jsdelivr.net/gh/Hackl0us/GeoIP2-CN@release/Country.mmdb) | Surge, Shadowrocket,
QuantumultX, Clash
等较新的代理工具|
对于网络状况良好、无污染的环境下,建议选择 GitHub RAW 的方式下载,因为可以第一获取到最新的资源,因为服务器在境外,可能下载响应时间和速度稍长,但因为文件小,所以通常问题不大。