Skip to content

Commit

Permalink
Update branch_build_hugo_en_alt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Jul 4, 2024
1 parent d646f2a commit 6f62297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch_build_hugo_en_alt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
optimize_png() {
local image=$1
resize_image "$image"
pngcrush -ow -reduce "$image"
#pngcrush -fix -ow "$image"
if [ $? -eq 0 ]; then
optipng -clobber -strip all -o $PNG_OPTIMIZATION_LEVEL "$image" &
optipng -fix -clobber -strip all -o $PNG_OPTIMIZATION_LEVEL "$image" &
else
echo "pngcrush failed on $image"
fi
Expand Down

0 comments on commit 6f62297

Please sign in to comment.