parent
97fe91f408
commit
0e2db52c32
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
hugo
|
||||
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
|
||||
-exec brotli --best -f {} \+ \
|
||||
-exec gzip --best -k -f {} \+
|
||||
#hugo
|
||||
#find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
|
||||
# -exec brotli --best -f {} \+ \
|
||||
# -exec gzip --best -k -f {} \+
|
||||
sleep 3
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue