This commit is contained in:
darkclip committed 2023-07-21 03:55:26 +08:00
1 parent f93de67bcf
commit 3e03ac054a
3 files changed
+58 -6

No files matched your search

+3 -2
View File
@@ -39,14 +39,15 @@ jobs:
continue-on-error: true
run: rm mosdns/*
- name: Rebuild mosdns branch
run: ./exp_mosdns.sh
run: |
./raydata.py dat-release/geoip.dat -c cn -o mosdns/chinaip.txt geoip
./raydata.py dat-release/geosite.dat -c cn -o mosdns/chinasite.txt geosite --formatter format_mosdns.json
- name: Push to mosdns branch
continue-on-error: true
run: |
cd mosdns
tar -cf mosdns.tar *.txt
rm *.txt
tree -H . -P "*.txt" -T "MosDNS List - $(date +%Y-%m-%d)" > index.html
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .