Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arfoux authored Aug 25, 2024
1 parent 82019eb commit b2006fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ jobs:
echo "Downloading big adblock list..."
curl -s 'https://big.oisd.nl/domainswild' -o oisd_big_domainswild.txt
awk '/^\*\./ && !x {print "# https://github.com/arfoux/clash-rule-providers \n\npayload:"; x=1} 1' oisd_big_domainswild.txt > big.txt
sed -i 's/^\*\./ - \'+./g' big.txt
sed -i 's/^\*\./ - \+./g' big.txt
rm -f oisd_big_domainswild.txt
# Download small adblock list
echo "Downloading small adblock list..."
curl -s 'https://small.oisd.nl/domainswild' -o oisd_small_domainswild.txt
awk '/^\*\./ && !x {print "# https://github.com/arfoux/clash-rule-providers \n\npayload:"; x=1} 1' oisd_small_domainswild.txt > small.txt
sed -i 's/^\*\./ - \'+./g' small.txt
sed -i 's/^\*\./ - \+./g' small.txt
rm -f oisd_small_domainswild.txt
- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit b2006fa

Please sign in to comment.