parent
21a9dd27e6
commit
5fb8877cd7
6 changed files with 9 additions and 12 deletions
8
actions/hugo-three/entrypoint.sh
Executable file
8
actions/hugo-three/entrypoint.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/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
|
|
@ -1,8 +0,0 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue