Revert "Update build-and-publish.yml"

This reverts commit 056bae376f.
This commit is contained in:
xixu-me committed 2025-04-02 11:52:40 +08:00
1 parent ab64d2fb97
commit 7c9cfb7e2b
1 file changed
+2 -10
+2 -10
View File
@@ -141,16 +141,8 @@ jobs:
- name: Generate rulesets in YAML and MRS format
run: |
cd custom
echo "Listing files in ../community/data:"
ls -la ../community/data
echo "Checking for potential HTML content in data files:"
grep -l "<html" ../community/data/* || echo "No HTML content found"
echo "Running with domain list files in '../community/data' directory."
go run ./ --datapath=../community/data --debug || {
echo "Command failed, displaying partial output from data files:"
head -n 20 ../community/data/* | grep -B 5 -A 5 "rel=\"icon\"" || echo "Could not locate the exact error source"
exit 1
}
echo ipleak.net >> ../community/data/geolocation-\!cn && echo browserleaks.org >> ../community/data/geolocation-\!cn
go run ./ --datapath=../community/data
cd ../converter
mkdir -p ../converted
go run ./ geosite -f ../custom/publish/geosite.dat -o ../converted