From 92d09bc70f57e23ef7012f9adbf83567c9a14464 Mon Sep 17 00:00:00 2001 From: iiTzArcur Date: Sun, 17 Dec 2023 10:14:46 +0100 Subject: [PATCH] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f1a4552..127c31a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -30,6 +30,10 @@ jobs: uses: actions/checkout@v3 - name: Setup Pages uses: actions/configure-pages@v3 + - name: Add webp versions of the images + run: | + sudo apt install imagemagick + find . -type f -regex ".*\.\(jpg\|jpeg\|png\)" -exec mogrify -format webp {} \; -print - name: Compress Images id: calibre uses: calibreapp/image-actions@main