From 7d6b7cb357e33086c5943ccc270ce7ef1bf86d9f Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Sat, 11 Jan 2025 19:35:58 +0100 Subject: [PATCH] Traying to fix webp conversion --- .gitea/workflows/pages-deploy.yaml | 4 +--- _config.yml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pages-deploy.yaml b/.gitea/workflows/pages-deploy.yaml index d1465c5..f131398 100644 --- a/.gitea/workflows/pages-deploy.yaml +++ b/.gitea/workflows/pages-deploy.yaml @@ -34,7 +34,7 @@ jobs: - name: Install Dependencies run: | sudo apt-get update - sudo apt-get install -y jq curl sed + sudo apt-get install -y jq curl sed imagemagick wget tar build-essential zlib1g-dev gpg libmagickwand-dev - name: Fetch Latest Modrinth Version id: fetch_version run: | @@ -74,8 +74,6 @@ jobs: path: "pages" - name: Setup Ruby run: | - apt-get update && \ - apt-get install curl wget tar build-essential zlib1g-dev gpg -y && \ curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \ curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \ curl -sSL https://get.rvm.io | bash -s stable && \ diff --git a/_config.yml b/_config.yml index 6bac1cf..b8af430 100644 --- a/_config.yml +++ b/_config.yml @@ -52,7 +52,7 @@ webp: # List of directories containing images to optimize, nested directories will only be checked if `nested` is true # By default the generator will search for a folder called `/img` under the site root and process all jpg, png and tiff image files found there. - img_dir: ["/img"] + img_dir: ["/assets/img"] # Whether to search in nested directories or not nested: false