mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 02:55:34 +08:00
Add blocked domains
Add blocked domains from @wongsyrone domain-block-list
This commit is contained in:
parent
365af40cb0
commit
4943b40560
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
|||||||
echo "::set-env name=GEOSITE_REPO::github.com/v2ray/domain-list-community"
|
echo "::set-env name=GEOSITE_REPO::github.com/v2ray/domain-list-community"
|
||||||
echo "::set-env name=GFWLIST_URL::https://cokebar.github.io/gfwlist2dnsmasq/gfwlist_domain.txt"
|
echo "::set-env name=GFWLIST_URL::https://cokebar.github.io/gfwlist2dnsmasq/gfwlist_domain.txt"
|
||||||
echo "::set-env name=Profiles_URL::https://raw.githubusercontent.com/ConnersHua/Profiles/master/Shadow/Pro.conf"
|
echo "::set-env name=Profiles_URL::https://raw.githubusercontent.com/ConnersHua/Profiles/master/Shadow/Pro.conf"
|
||||||
|
echo "::set-env name=Blocked_DOMAINS_URL::https://raw.githubusercontent.com/wongsyrone/domain-block-list/master/domains.txt"
|
||||||
echo "::set-env name=CHINA_DOMAINS_URL::https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf"
|
echo "::set-env name=CHINA_DOMAINS_URL::https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/accelerated-domains.china.conf"
|
||||||
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -60,6 +61,12 @@ jobs:
|
|||||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||||
curl -sSL $Profiles_URL | awk '/^DOMAIN.+PROXY/' | cut -d ',' -f 2 > profileproxy
|
curl -sSL $Profiles_URL | awk '/^DOMAIN.+PROXY/' | cut -d ',' -f 2 > profileproxy
|
||||||
echo "include:profileproxy" >> geolocation-\!cn
|
echo "include:profileproxy" >> geolocation-\!cn
|
||||||
|
|
||||||
|
- name: Get and add blocked domains from @wongsyrone/domain-block-list into geolocation-!cn
|
||||||
|
run: |
|
||||||
|
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||||
|
curl -sSL $Blocked_DOMAINS_URL > blockedlist
|
||||||
|
echo "include:blockedlist" >> geolocation-\!cn
|
||||||
|
|
||||||
- name: Get and add direct domains from @ConnersHua/Profiles into cn
|
- name: Get and add direct domains from @ConnersHua/Profiles into cn
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user