parent
21a9dd27e6
commit
5fb8877cd7
6 changed files with 9 additions and 12 deletions
|
@ -6,7 +6,4 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: hello world action step
|
||||
uses: ./actions/hugo-two
|
||||
- name: show files
|
||||
run: ls -lR
|
||||
|
||||
uses: ./actions/hugo-three
|
||||
|
|
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…
Reference in a new issue