Skip to content

Commit fdc0c40

Browse files
committed
debug
1 parent 7f18329 commit fdc0c40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ jobs:
8484
wget 'https://imagemagick.org/archive/binaries/magick'
8585
chmod +x magick
8686
sudo mv magick /usr/local/bin/
87-
sudo ldconfig /usr/local/lib
87+
sudo ldconfig
8888
8989
magick --version
9090
9191
magick -list format | grep AVIF
9292
9393
ldconfig -p | grep heif
9494
95+
ldd $(which magick) | grep heif
96+
9597
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\> {} \;
9698
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec magick {} -quality 75 -define webp:image-hint=photo {}_1080x.webp \;
9799
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec magick {} {}_1080x.avif \;

0 commit comments

Comments
 (0)