From 3d76e896d1a292d374b57420c30075997ff78564 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Tue, 3 Jan 2023 12:08:52 +0000 Subject: [PATCH] Enable compression --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8261c5ac..010ec4f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,8 @@ variables: pages: script: - hugo --gc --minify + - find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \; + - find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec brotli -f -k {} \; artifacts: paths: - public