build: zstd compress
This commit is contained in:
parent
b4acfdbd81
commit
f70b9f20b2
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue