From 81c30e6b2c3582fa87bc78fdbf8e2264d62a01aa Mon Sep 17 00:00:00 2001 From: Hoernschen Date: Thu, 11 Jan 2024 21:05:36 +0100 Subject: [PATCH] ADD image optimization to build pipeline --- .forgejo/workflows/build.yaml | 6 ++++++ themes/kobel | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 044db02..1e1dbe6 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -18,6 +18,12 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - name: Optimize images + shell: bash + run: | + apt update + apt install imagemagick -y + ./themes/kobel/assets/build/images.sh - name: Build with hugo env: # For maximum backward compatibility with Hugo modules diff --git a/themes/kobel b/themes/kobel index 4ab9bda..0eb768b 160000 --- a/themes/kobel +++ b/themes/kobel @@ -1 +1 @@ -Subproject commit 4ab9bdab6e1dac248a8c7a0255f887d4720a57ef +Subproject commit 0eb768b78a186174516393c72064d02ba5210fbd