mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 02:55:34 +08:00
Update build.yml
This commit is contained in:
parent
64a26fcddc
commit
61a8ee2ffb
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -72,8 +72,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get and add proxy domains from @ConnersHua/Profiles into temp-proxy.txt file
|
- name: Get and add proxy domains from @ConnersHua/Profiles into temp-proxy.txt file
|
||||||
run: |
|
run: |
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN,.+PROXY/ {print $2}' >> temp-proxy.txt
|
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN(,|\-SUFFIX,).+PROXY/ {print $2}' >> temp-proxy.txt
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN\-SUFFIX,.+PROXY/ {print $2}' >> temp-proxy.txt
|
|
||||||
|
|
||||||
- name: Get and add blocked domains from @wongsyrone/domain-block-list into temp-proxy.txt file
|
- name: Get and add blocked domains from @wongsyrone/domain-block-list into temp-proxy.txt file
|
||||||
run: |
|
run: |
|
||||||
@ -81,8 +80,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get and add direct domains from @ConnersHua/Profiles into temp-direct.txt file
|
- name: Get and add direct domains from @ConnersHua/Profiles into temp-direct.txt file
|
||||||
run: |
|
run: |
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN,.+DIRECT/ {print $2}' > temp-direct.txt
|
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN(,|\-SUFFIX,).+DIRECT/ {print $2}' > temp-direct.txt
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN\-SUFFIX,.+DIRECT/ {print $2}' >> temp-direct.txt
|
|
||||||
|
|
||||||
- name: Get and add chinalist domains into temp-direct.txt file
|
- name: Get and add chinalist domains into temp-direct.txt file
|
||||||
run: |
|
run: |
|
||||||
@ -91,8 +89,7 @@ jobs:
|
|||||||
- name: Get and add rejected domains from @ConnersHua/Profiles into category-ads-all
|
- name: Get and add rejected domains from @ConnersHua/Profiles into category-ads-all
|
||||||
run: |
|
run: |
|
||||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
cd $GOPATH/src/$GEOSITE_REPO/data
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN,.+REJECT/ {print $2}' > profilereject
|
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN(,|\-SUFFIX,).+REJECT/ {print $2}' > profilereject
|
||||||
curl -sSL $Profiles_URL | awk -F ',' '/^DOMAIN\-SUFFIX,.+REJECT/ {print $2}' >> profilereject
|
|
||||||
echo "include:profilereject" >> category-ads-all
|
echo "include:profilereject" >> category-ads-all
|
||||||
|
|
||||||
- name: Add proxy and direct domains from the branch named hidden of this repo to appropriate temp files
|
- name: Add proxy and direct domains from the branch named hidden of this repo to appropriate temp files
|
||||||
|
Loading…
Reference in New Issue
Block a user