lubitest/actions/hugo-three/entrypoint.sh
lubiana 5fb8877cd7
All checks were successful
/ debug (push) Successful in 42s
test
2024-12-15 17:27:59 +01:00

8 lines
173 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 {} \+
sleep 3
exit 0