Add .png extention.
This commit is contained in:
parent
73d6002589
commit
5b6c282a77
|
@ -69,7 +69,7 @@ steps:
|
||||||
- unzip /tmp/font.zip -d /tmp/font
|
- unzip /tmp/font.zip -d /tmp/font
|
||||||
- find /tmp/font -type f -name *.ttf | xargs -I% -n 1 cp -p % assets/font/
|
- find /tmp/font -type f -name *.ttf | xargs -I% -n 1 cp -p % assets/font/
|
||||||
- find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
|
- find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
|
||||||
- find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 -t img2webp -lossy -q 50 static/ogp/% -o static/ogp/%.webp > /dev/null
|
- find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 -t img2webp -lossy -q 50 static/ogp/%.png -o static/ogp/%.webp > /dev/null
|
||||||
- find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
|
- find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
|
||||||
|
|
||||||
- name: hugo
|
- name: hugo
|
||||||
|
|
Loading…
Reference in New Issue