CHANGE image optimization UPDATE theme
All checks were successful
build-to-pages / build (push) Successful in 35s
build-to-pages / push (push) Successful in 13s

This commit is contained in:
Hoernschen 2024-01-15 22:57:23 +01:00
parent 46e4e8744c
commit 0fc182a88d
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
8 changed files with 14 additions and 5 deletions

View file

@ -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