From f70b9f20b2ec8a02c1973e50a6ddeb4d03e4a0bb Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 16 Feb 2025 00:47:51 +0000 Subject: [PATCH] build: zstd compress --- .github/workflows/pages.yml | 3 ++- .gitlab-ci.yml | 3 ++- README.md | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index a2019e4c..9b672857 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -14,7 +14,7 @@ jobs: - name: Install Dependencies run: | apk update - apk add brotli curl git grep jq + apk add brotli curl git grep jq zstd - name: Build env: CF_API: ${{ secrets.CF_API }} @@ -23,6 +23,7 @@ jobs: run: | find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec gzip -f -k -9 {} \; find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec brotli -f -k -9 {} \; + find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec zstd -f -k -9 {} \; - name: Deploy uses: peaceiris/actions-gh-pages@v4 with: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 676bed46..7e4c5de4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,12 +12,13 @@ build_job: stage: build before_script: - - apk update && apk add brotli curl grep jq + - apk update && apk add brotli curl grep jq zstd script: - sh src/script.sh - find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec gzip -f -k -9 {} \; - find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec brotli -f -k -9 {} \; + - find public -type f -regex '.*\.\(txt\|conf\|tpl\|rules\|csv\)$' -exec zstd -f -k -9 {} \; artifacts: paths: diff --git a/README.md b/README.md index 9563c8dd..81c4de9a 100644 --- a/README.md +++ b/README.md @@ -264,6 +264,7 @@ All filters are also available as gzip- and brotli-compressed. - Gzip: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter.txt.gz - Brotli: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter.txt.br +- Zstd: https://malware-filter.gitlab.io/malware-filter/urlhaus-filter.txt.zst ## Issues