From c77af5bec77e3eeb00842e0fb103a6eea69d4379 Mon Sep 17 00:00:00 2001 From: rebecca <802632-arkandos@users.noreply.gitlab.com> Date: Wed, 29 Apr 2026 22:28:19 +0200 Subject: [PATCH] compress files --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e15bf3c..f0544aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,3 +15,5 @@ create-pages: script: - gleam run -m lustre/dev build --minify --outdir=../public component - gleam run -m lustre/dev build --minify --outdir=../public + - 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 {} \; -- 2.51.2