mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 02:55:34 +08:00
Fixed Profiles rules with # prefix
This commit is contained in:
parent
964be7423e
commit
365af40cb0
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -58,13 +58,13 @@ jobs:
|
||||
- name: Get and add proxy domains from @ConnersHua/Profiles into geolocation-!cn
|
||||
run: |
|
||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||
curl -sSL $Profiles_URL | grep PROXY | grep DOMAIN | cut -d ',' -f 2 > profileproxy
|
||||
curl -sSL $Profiles_URL | awk '/^DOMAIN.+PROXY/' | cut -d ',' -f 2 > profileproxy
|
||||
echo "include:profileproxy" >> geolocation-\!cn
|
||||
|
||||
- name: Get and add direct domains from @ConnersHua/Profiles into cn
|
||||
run: |
|
||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||
curl -sSL $Profiles_URL | grep DIRECT | grep DOMAIN | cut -d ',' -f 2 > profiledirect
|
||||
curl -sSL $Profiles_URL | awk '/^DOMAIN.+DIRECT/' | cut -d ',' -f 2 > profiledirect
|
||||
echo "include:profiledirect" >> cn
|
||||
|
||||
- name: Get and add chinalist into cn
|
||||
@ -76,7 +76,7 @@ jobs:
|
||||
- name: Get and add reject domains from @ConnersHua/Profiles into category-ads-all
|
||||
run: |
|
||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||
curl -sSL $Profiles_URL | grep REJECT | grep DOMAIN | cut -d ',' -f 2 > profilereject
|
||||
curl -sSL $Profiles_URL | awk '/^DOMAIN.+REJECT/' | cut -d ',' -f 2 > profilereject
|
||||
echo "include:profilereject" >> category-ads-all
|
||||
|
||||
- name: Build geosite.dat file
|
||||
|
Loading…
Reference in New Issue
Block a user