mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-12 03:45:43 +08:00
update
This commit is contained in:
1 parent
369b91843c
commit
8bd0ee1acc
3 files changed
+160
-4
No files matched your search
@@ -40,11 +40,17 @@ jobs:
|
||||
run: rm target/*
|
||||
- name: Rebuild target branch
|
||||
run: |
|
||||
./raydata.py ref/geoip.dat -c cn -o target/chinaip.txt geoip
|
||||
./raydata.py ref/geosite.dat -c cn -o target/chinasite.txt geosite --formatter format_mosdns.json
|
||||
cp mosdns/config.yml target/config.yml
|
||||
./raydata.py ref/geoip.dat -c cn -o target/rule/chinaip.txt geoip
|
||||
./raydata.py ref/geosite.dat -c cn -o target/rule/chinasite.txt geosite --formatter mosdns/format.json
|
||||
./raydata.py ref/geosite.dat -c category-ads-all -o target/rule/blocklist.txt geosite --formatter mosdns/format.json
|
||||
touch target/rule/hosts.txt
|
||||
touch target/rule/whitelist.txt
|
||||
touch target/rule/greylist.txt
|
||||
mkdir target/tmp
|
||||
cd target
|
||||
tar -cf mosdns.tar *.txt
|
||||
rm *.txt
|
||||
tar -cf mosdns.tar tmp rule *.yml
|
||||
rm tmp rule *.yml -r
|
||||
- name: Push to target branch
|
||||
continue-on-error: true
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user