Enable compression
This commit is contained in:
parent
1e3507b5b3
commit
abe380dc81
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user