add precompression to build script
Some checks failed
Hugo / build (push) Failing after 9s

This commit is contained in:
brooke 2024-06-10 19:40:09 -04:00
parent 6a3a6f7dc7
commit 19a06e408b

View file

@ -14,6 +14,8 @@ jobs:
submodules: 'true' submodules: 'true'
- name: Run build task - name: Run build task
run: hugo --minify run: hugo --minify
- name: pre-compress
run: find ./public/* -type f \( -name '*.html' -o -name '*.js' -o -name '*.css'\) -exec gzip -v -k -f --best {} \\;
- name: Deploy to Server - name: Deploy to Server
uses: https://git.myco.systems/mirrors/ssh-deploy@main uses: https://git.myco.systems/mirrors/ssh-deploy@main
env: env: