Commit 84c99d78 authored by Zach van Rijn's avatar Zach van Rijn
Browse files

Dockerize 'convert' in the publish script.

parent 7abd40f5
......@@ -20,11 +20,14 @@ chmod 755 ${TEMP};
##
# .psd --> .jpg ONLY in 'src/'
#
docker run -v$(pwd):/x -w/x --rm -i alpine:3.14 <<'EOF'
apk add imagemagick;
find ${HERE} -type f -name "*.psd" | while read k; do
f="${k#*${HERE}}";
mkdir -p "${TEMP}${f%/*}";
convert "${k}[0]" -strip "${TEMP}${f%*.psd}.jpg";
done
EOF
##
# template injection
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment