add minify and pre-compress
This commit is contained in:
parent
4e9a2f2fc4
commit
d20e767709
1 changed files with 3 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ git pull --recurse-submodules
|
||||||
# Run
|
# Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
hugo
|
hugo --minify
|
||||||
|
for i in $(find public -type f \( -iname \*.js -o -iname \*.css -o -iname \*.html \) );do zstd -f --ultra -k $i ; gzip -f -9 -k $i ; brotli -f -k $i;done
|
||||||
rsync -arvz --delete public/ peach.verry.org:/srv/www/yann/verry.org/
|
rsync -arvz --delete public/ peach.verry.org:/srv/www/yann/verry.org/
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue