Skip to content

Commit

Permalink
更新规则
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanyeye authored Dec 17, 2022
1 parent 9e43a5f commit ef11649
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
echo "global_network_rules=https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/global-network-rules.txt" >> $GITHUB_ENV
echo "domestic_media_rules=https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/domestic-media-rules.txt" >> $GITHUB_ENV
echo "foreign_media_rules=https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/foreign-media-rules.txt" >> $GITHUB_ENV
echo "blacklist_rules=https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/blacklist-rules.txt" >> $GITHUB_ENV
shell: bash

- name: Generate rules.txt file
Expand All @@ -29,6 +30,7 @@ jobs:
curl -sSL ${global_network_rules} > global-network-rules.txt
curl -sSL ${domestic_media_rules} > domestic-media-rules.txt
curl -sSL ${foreign_media_rules} > foreign-media-rules.txt
curl -sSL ${blacklist_rules} > blacklist-rules.txt
- name: Move files to publish directory
run: |
Expand Down
7 changes: 7 additions & 0 deletions blacklist-rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
payload:
- DOMAIN-KEYWORD,porn
- DOMAIN-KEYWORD,pornhub
- DOMAIN-KEYWORD,xvideos
- DOMAIN-SUFFIX,madou.club
- DOMAIN-SUFFIX,wnacg.org

0 comments on commit ef11649

Please sign in to comment.