Skip to content

Commit

Permalink
CI logs
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Oct 15, 2024
1 parent f87cfb8 commit 95a1bfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions lib/filters/thumbnailize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95a1bfe

Please sign in to comment.