chore: remove unused oisd mirror
This commit is contained in:
parent
f339c1f171
commit
61a25e8992
|
@ -14,15 +14,11 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: |
|
||||
apk update
|
||||
apk add brotli curl git grep
|
||||
apk add curl git grep
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
- name: Compress
|
||||
run: |
|
||||
find . -name "oisd*.txt" -type f -print0 | xargs -0 gzip -f -k -9
|
||||
find . -name "oisd*.txt" -type f -print0 | xargs -0 brotli -f -k -9
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
with:
|
||||
|
|
|
@ -16,13 +16,11 @@ build_job:
|
|||
stage: build
|
||||
|
||||
before_script:
|
||||
- apk update && apk add brotli curl
|
||||
- apk update && apk add curl
|
||||
- npm install
|
||||
|
||||
script:
|
||||
- npm run build
|
||||
- find public -name "oisd*.txt" -type f -print0 | xargs -0 gzip -f -k -9
|
||||
- find public -name "oisd*.txt" -type f -print0 | xargs -0 brotli -f -k -9
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
|
|
|
@ -47,18 +47,5 @@ do
|
|||
unzip "$zipfile"
|
||||
done
|
||||
|
||||
curl "https://abp.oisd.nl/basic/" -o "oisd_abp_light.txt"
|
||||
curl "https://abp.oisd.nl/" -o "oisd_abp.txt"
|
||||
curl "https://dbl.oisd.nl/basic/" -o "oisd_dbl_light.txt"
|
||||
curl "https://dbl.oisd.nl/" -o "oisd_dbl.txt"
|
||||
curl "https://dblw.oisd.nl/basic/" -o "oisd_dblw_light.txt"
|
||||
curl "https://dblw.oisd.nl/" -o "oisd_dblw.txt"
|
||||
curl "https://hosts.oisd.nl/basic/" -o "oisd_hosts_light.txt"
|
||||
curl "https://hosts.oisd.nl/" -o "oisd_hosts.txt"
|
||||
curl "https://dnsmasq.oisd.nl/basic/" -o "oisd_dnsmasq_light.txt"
|
||||
curl "https://dnsmasq.oisd.nl/" -o "oisd_dnsmasq.txt"
|
||||
curl "https://rpz.oisd.nl/basic/" -o "oisd_rpz_light.txt"
|
||||
curl "https://rpz.oisd.nl/" -o "oisd_rpz.txt"
|
||||
|
||||
mkdir "../public/"
|
||||
find . ! -name "*.zip" -type f | xargs cp -t "../public/"
|
||||
|
|
Loading…
Reference in New Issue