Enable compression
This commit is contained in:
parent
94acfc0284
commit
73e46b41a1
@ -6,6 +6,8 @@ variables:
|
|||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
- hugo --gc --minify
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user