Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudon committed Oct 19, 2024
1 parent 7f18329 commit fdc0c40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,16 @@ jobs:
wget 'https://imagemagick.org/archive/binaries/magick'
chmod +x magick
sudo mv magick /usr/local/bin/
sudo ldconfig /usr/local/lib
sudo ldconfig
magick --version
magick -list format | grep AVIF
ldconfig -p | grep heif
ldd $(which magick) | grep heif
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec magick {} -pointsize 48 -fill "#909090" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+20 "@liudon\nhttps://liudon.com" -resize 1080x\> {} \;
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec magick {} -quality 75 -define webp:image-hint=photo {}_1080x.webp \;
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec magick {} {}_1080x.avif \;
Expand Down

0 comments on commit fdc0c40

Please sign in to comment.