Skip to content

Commit

Permalink
Update run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
misha-tgshv authored Feb 18, 2025
1 parent 5bb9e57 commit 18e1294
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,19 @@ jobs:
- name: Создаем файл domains_refilter.list
run: |
curl -s https://raw.githubusercontent.com/1andrevich/Re-filter-lists/main/community.lst > temp.txt \
&& curl -s https://raw.githubusercontent.com/1andrevich/Re-filter-lists/main/domains_all.lst >> temp.txt \
&& grep -v "mega555" temp.txt > temp2.txt \
&& echo "# NAME: domains refilter list" > domains_refilter.list \
&& echo "# AUTHOR: misha-tgshv" > domains_refilter.list \
&& echo "# REPO: domains_refilter.list" > domains_refilter.list \
&& echo "# UPDATED: $(TZ='Europe/Moscow' date '+%Y-%m-%d %H:%M:%S') MSK" > domains_refilter.list \
&& echo "# SOURCE: https://github.com/1andrevich/Re-filter-lists" >> domains_refilter.list \
&& sed 's/^/DOMAIN-SUFFIX,/g' temp2.txt > domains_refilter.list.tmp \
&& echo "# TOTAL: $(wc -l < domains_refilter.list.tmp | awk '{print $1}')" >> domains_refilter.list \
&& cat domains_refilter.list.tmp >> domains_refilter.list && rm temp.txt temp2.txt
curl -s https://raw.githubusercontent.com/1andrevich/Re-filter-lists/main/community.lst > temp.txt &&
curl -s https://raw.githubusercontent.com/1andrevich/Re-filter-lists/main/domains_all.lst >> temp.txt &&
grep -v "mega555" temp.txt > temp2.txt && rm temp.txt
echo "# NAME: domains_refilter.list" > domains_refilter.list &&
echo "# AUTHOR: misha-tgshv" >> domains_refilter.list &&
echo "# REPO: https://github.com/misha-tgshv/shadowrocket-configuration-file" >> domains_refilter.list &&
echo "# UPDATED: $(TZ='Europe/Moscow' date '+%Y-%m-%d %H:%M:%S') MSK" >> domains_refilter.list &&
echo "# SOURCE: https://github.com/1andrevich/Re-filter-lists" >> domains_refilter.list
sed 's/^./DOMAIN-SUFFIX,/' temp2.txt | tee domaintmp
wc -l < domaintmp | awk '{print "# TOTAL:", $1}' >> domains_refilter.list
cat domaintmp >> domains_refilter.list && rm domaintmp temp2.txt
- name: Создаем файл domains_youtube.list
run: |
Expand Down

0 comments on commit 18e1294

Please sign in to comment.