ci: brotli compress
This commit is contained in:
parent
4cb067e7f1
commit
297ec84bc5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue