Skip to content

Commit

Permalink
Update generate-blocklist.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCyberArcher authored Nov 5, 2024
1 parent 5703b5d commit 9b93ac0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/generate-blocklist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4
- name: directory clean
run: |
rm -rf ./blocklist/*
- name: Feed recuperation with convert
- name: Base blocklist generation
run: |
mkdir -p ./blocklist
cd ./blocklist
Expand All @@ -40,6 +42,13 @@ jobs:
cat * >> respect-my-internet.txt
curl https://raw.githubusercontent.com/firehol/blocklist-ipsets/refs/heads/master/firehol_level3.netset | sed '/^#/d' >> firehol-lv3.txt
- name: Extra blocklists generation

for url in https://raw.githubusercontent.com/blocklistproject/Lists/refs/heads/master/fortnite.txt https://raw.githubusercontent.com/blocklistproject/Lists/refs/heads/master/adobe.txt https://raw.githubusercontent.com/blocklistproject/Lists/refs/heads/master/tiktok.txt https://raw.githubusercontent.com/blocklistproject/Lists/refs/heads/master/whatsapp.txt https://raw.githubusercontent.com/blocklistproject/Lists/refs/heads/master/youtube.txt
do
curl $url | sed '/^#/d' > $(basename $url)
done

- name: Configure Git
run: |
Expand Down

0 comments on commit 9b93ac0

Please sign in to comment.