Skip to content

Commit

Permalink
Clean CI logs
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Oct 15, 2024
1 parent 820c49e commit 8b5d061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
ruby-version: 3.0

- name: Install ImageMagick
run: |
brew install imagemagick@7
magick --version
run: brew install imagemagick@7

- name: Cache bundler gems
id: cache-bundler
Expand Down Expand Up @@ -63,8 +61,7 @@ jobs:
export LANG=en_US.UTF-8
export LANGUAGE=en_US:en
export LC_ALL=en_US.UTF-8
bundle exec nanoc compile --env=prod -V || cat crash.log && exit 1
[ -f crash.log ] && cat crash.log
bundle exec nanoc compile --env=prod -V
- name: Setup Node
if: steps.build.outputs.need_deploy == 0
Expand Down
5 changes: 0 additions & 5 deletions lib/filters/thumbnailize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ class Thumbnailize < Nanoc::Filter
type :binary

def run(filename, params = {})
output_dir = File.dirname(output_filename)
puts "output_dir1=#{output_dir} -> #{Dir.exist?(output_dir)}"
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 8b5d061

Please sign in to comment.