From 95a1bfeaa1dbfff5e761e4d040df0c22442ccb6c Mon Sep 17 00:00:00 2001 From: Olivier Patry Date: Tue, 15 Oct 2024 08:33:44 +0200 Subject: [PATCH] CI logs --- .github/workflows/build_deploy.yml | 1 + lib/filters/thumbnailize.rb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index 1ec3174..97b0818 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -59,6 +59,7 @@ jobs: export LANGUAGE=en_US:en export LC_ALL=en_US.UTF-8 bundle exec nanoc compile --env=prod -V + [ -f crash.log ] && cat crash.log - name: Setup Node if: steps.build.outputs.need_deploy == 0 diff --git a/lib/filters/thumbnailize.rb b/lib/filters/thumbnailize.rb index 3a458f6..b74cc01 100644 --- a/lib/filters/thumbnailize.rb +++ b/lib/filters/thumbnailize.rb @@ -7,8 +7,11 @@ class Thumbnailize < Nanoc::Filter type :binary def run(filename, params = {}) + puts "output_dir1=#{output_dir} -> #{Dir.exist?(output_dir)}" output_dir = File.dirname(output_filename) FileUtils.mkdir_p(output_dir) unless Dir.exist?(output_dir) + puts "filename=#{filename} -> #{output_filename}" + puts "output_dir2=#{output_dir} -> #{Dir.exist?(output_dir)}" system( 'magick', filename,