CHANGE image optimization UPDATE theme
This commit is contained in:
parent
46e4e8744c
commit
0fc182a88d
8 changed files with 14 additions and 5 deletions
|
@ -18,16 +18,16 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Optimize images
|
||||
shell: bash
|
||||
run: |
|
||||
./themes/kobel/assets/build/images.sh
|
||||
- name: Build with hugo
|
||||
env:
|
||||
# For maximum backward compatibility with Hugo modules
|
||||
HUGO_ENVIRONMENT: production
|
||||
HUGO_ENV: production
|
||||
run: hugo --minify
|
||||
- name: Optimize images
|
||||
shell: bash
|
||||
run: |
|
||||
./themes/kobel/assets/build/images.sh
|
||||
- name: Zip output
|
||||
run: apt update && apt install zip -y && zip -r public.zip public/
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue