From c3f2fa4364efdb608d7801a463db677abc1d23e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Soto=20Valero?= Date: Tue, 4 Feb 2025 10:58:40 +0100 Subject: [PATCH] Try to fix deployment issue --- .github/workflows/workflow.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 9217e370a..2693de4d4 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -20,13 +20,17 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - bundler-cache: true # runs 'bundle install' and caches installed gems automatically + bundler-cache: true - name: Install ImageMagick and dependencies run: | sudo apt-get update sudo apt-get install -y imagemagick libmagickwand-dev libmagickcore-dev pkg-config + # Set the PKG_CONFIG_PATH to help rmagick find the MagickCore library + - name: Set PKG_CONFIG_PATH for rmagick + run: echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV + - name: Building site run: JEKYLL_ENV=production bundle exec jekyll build --profile --trace env: @@ -35,7 +39,6 @@ jobs: YOUTUBE_API_TOKEN: ${{ secrets.YOUTUBE_API_TOKEN }} GMAIL: ${{ secrets.CESAR_PERSONAL_GMAIL }} - # Cache Jekyll _site directory after build - name: Cache Jekyll _site directory uses: actions/cache@v3 with: