diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cceead27bd02b1f7b3062ba52148ff9e5946303..176be89392f77e0b71c49bfeca92ba9f0af334e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,8 @@ pages: # ugly hack from https://gitlab.com/gitlab-org/gitlab-pages/issues/23#note_57499396 # until Gitlab Pages has better support for SPA - cp public/index.html public/404.html + # Gzip compression, cf https://webd97.de/post/gitlab-pages-compression/ + - gzip -k -6 $(find public -type f) cache: key: front_node_modules paths: