From 297ec84bc5ea3ed77cd05ab85b559d6901e0610a Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 18 Dec 2020 16:49:42 +0000 Subject: [PATCH] ci: brotli compress --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e6f396..ec94cc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: