lubitest/actions/hugo/entrypoint.sh

7 lines
158 B
Bash
Raw Normal View History

2024-12-12 20:31:17 +00:00
#!/bin/sh
2024-12-12 19:20:48 +00:00
2024-12-12 19:31:50 +00:00
hugo
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+