lubitest/actions/hugo-four/entrypoint.sh
lubiana 2a6078098b
All checks were successful
/ debug (push) Successful in 39s
test
2024-12-15 17:29:07 +01:00

9 lines
178 B
Bash
Executable file

#!/bin/sh
hugo
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+
sync
sleep 3
exit 0