From 61a25e8992a1c60bfc927244f14c642b29d1e5bb Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Wed, 12 Feb 2025 09:43:17 +0000 Subject: [PATCH] chore: remove unused oisd mirror --- .github/workflows/pages.yml | 6 +----- .gitlab-ci.yml | 4 +--- src/script.sh | 13 ------------- 3 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 6707f63..05f78a1 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b9b7bb..27e7e80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/src/script.sh b/src/script.sh index 7b18664..50e194a 100644 --- a/src/script.sh +++ b/src/script.sh @@ -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/"