Enable compression

This commit is contained in:
Denys Konovalov 2023-01-03 12:08:52 +00:00
parent 9765c00f02
commit 3d76e896d1

@ -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