make sure everything actually works

This commit is contained in:
Jonas 2024-12-12 01:24:04 +01:00
parent dfc48e517e
commit d3d6f32e78
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

View file

@ -1,7 +1,10 @@
#!/bin/sh
#!/bin/sh -l
hugo
find ./public -type f \
-regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+
echo "success=success" >> $GITHUB_OUTPUT
return 0