summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
Diffstat (limited to 'publish')
-rwxr-xr-xpublish3
1 files changed, 3 insertions, 0 deletions
diff --git a/publish b/publish
index bb974d5..38c005e 100755
--- a/publish
+++ b/publish
@@ -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