diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b714d3f37..935b591f4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,7 @@ jobs: 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=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 "::add-path::$(dirname $GITHUB_WORKSPACE)/bin" shell: bash @@ -60,6 +61,12 @@ jobs: cd $GOPATH/src/$GEOSITE_REPO/data curl -sSL $Profiles_URL | awk '/^DOMAIN.+PROXY/' | cut -d ',' -f 2 > profileproxy 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 run: |