mirror of
https://github.com/Loyalsoldier/clash-rules.git
synced 2024-12-05 10:42:07 +08:00
Specify domain and sub-domain
Keep up with upstream behavior 18f0a8301a
This commit is contained in:
parent
1e7b435701
commit
49f7eb8a57
6
.github/workflows/run.yml
vendored
6
.github/workflows/run.yml
vendored
@ -59,12 +59,14 @@ jobs:
|
||||
- name: Generate direct.txt file
|
||||
run: |
|
||||
echo "payload:" > direct.txt
|
||||
curl -sSL ${Loyalsoldier_direct} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> direct.txt
|
||||
curl -sSL ${Loyalsoldier_direct} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(full:)([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |$2|\n"' | sed "s/|/'/g" >> direct.txt
|
||||
curl -sSL ${Loyalsoldier_direct} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> direct.txt
|
||||
|
||||
- name: Generate proxy.txt file
|
||||
run: |
|
||||
echo "payload:" > proxy.txt
|
||||
curl -sSL ${Loyalsoldier_proxy} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:|full:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||
curl -sSL ${Loyalsoldier_proxy} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(full:)([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |$2|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||
curl -sSL ${Loyalsoldier_proxy} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(domain:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> proxy.txt
|
||||
|
||||
- name: Generate reject.txt file
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user