This commit is contained in:
parent
6a3a6f7dc7
commit
19a06e408b
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue