diff --git a/actions/hugo/entrypoint.sh b/actions/hugo/entrypoint.sh index 3ca35d6..9837cd4 100644 --- a/actions/hugo/entrypoint.sh +++ b/actions/hugo/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -l -sh -c "hugo" -sh -c "find ./public -type f -regex '.*\.\(css\|html\|js\|json\|svg\|xml\)$' -exec brotli --best -f {} \+ -exec gzip --best -k -f {} \+" - -exit 0 +hugo +find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \ + -exec brotli --best -f {} \+ \ + -exec gzip --best -k -f {} \+