lubitest/actions/sleep-three/entrypoint.sh

17 lines
237 B
Bash
Raw Normal View History

2024-12-14 18:04:35 +00:00
#!/bin/sh
apk add --no-cache \
brotli \
gzip \
hugo
echo 'hello'
hugo
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+
exit 0