File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 61
61
sudo apt-get update
62
62
sudo apt-get install -y imagemagick libheif-dev
63
63
find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -pointsize 48 -fill "#ffffff00" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+10 "@liudon\nhttps://liudon.com" -resize 1080x\> -quality 75 -define webp:image-hint=photo {}_1080x.webp \;
64
- find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -pointsize 48 -fill "#ffffff00" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+10 "@liudon\nhttps://liudon.com" -resize 1080x\> {}_1080x.avif \;
64
+ find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec convert {} -verbose - pointsize 48 -fill "#ffffff00" -font ./static/ArchitectsDaughter-Regular.ttf -gravity south -annotate +0+10 "@liudon\nhttps://liudon.com" -resize 1080x\> {}_1080x.avif \;
65
65
66
66
- name : Setup Hugo
67
67
uses : peaceiris/actions-hugo@v3
You can’t perform that action at this time.
0 commit comments