ci: brotli compress

This commit is contained in:
MDLeom 2020-12-18 16:49:42 +00:00
parent 4cb067e7f1
commit 297ec84bc5
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 1 deletions

View File

@ -2,13 +2,14 @@ image: alpine:latest # Use the latest version of Alpine Linux docker image
pages:
before_script:
- apk update && apk add git
- apk update && apk add git brotli
- git clone --depth 5 https://gitlab.com/curben/urlhaus-filter.git urlhaus-filter/
script:
- mkdir -p public/
- cp urlhaus-filter/urlhaus-filter* public/
- find public -type f -regex '.*\.\(txt\|conf\|tpl\)$' -exec gzip -f -k -9 {} \;
- find public -type f -regex '.*\.\(txt\|conf\|tpl\)$' -exec brotli -f -k -9 {} \;
artifacts:
paths: