Skip to content

Commit

Permalink
Update run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
psychopasss authored Aug 28, 2024
1 parent e351641 commit 9fbdbc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
echo "v2fly_youtube=https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/youtube" >> $GITHUB_ENV
echo "v2fly_openai=https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/openai" >> $GITHUB_ENV
echo "v2fly_notion=https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/notion" >> $GITHUB_ENV
echo "v2fly_telegram=https://raw.githubusercontent.com/v2fly/domain-list-community/master/data/telegram" >> $GITHUB_ENV
echo "cn_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt" >> $GITHUB_ENV
echo "lan_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/private.txt" >> $GITHUB_ENV
echo "telegram_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/telegram.txt" >> $GITHUB_ENV
Expand Down Expand Up @@ -65,6 +66,12 @@ jobs:
echo "payload:" > openai.txt
curl -sSL ${v2fly_openai} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(full:)([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |$2|\n"' | sed "s/|/'/g" >> openai.txt
curl -sSL ${v2fly_openai} | grep -Ev "^(regexp|keyword|full):" | perl -ne '/^(domain:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> openai.txt
- name: Generate telegram.txt file
run: |
echo "payload:" > telegram.txt
curl -sSL ${v2fly_telegram} | grep -Ev "^(regexp|keyword):" | perl -ne '/^(full:)([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |$2|\n"' | sed "s/|/'/g" >> telegram.txt
curl -sSL ${v2fly_telegram} | grep -Ev "^(regexp|keyword|full):" | perl -ne '/^(domain:)?([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)*)/ && print " - |+.$2|\n"' | sed "s/|/'/g" >> telegram.txt
- name: Generate notion.txt file
run: |
Expand Down

0 comments on commit 9fbdbc9

Please sign in to comment.