From af8d0be7bb88855eae4f2bc95c91baa829a7b32d Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Thu, 6 May 2021 21:43:23 +0900 Subject: [PATCH] Show the standard errors. --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index c500290..fa2c6f2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -65,12 +65,12 @@ steps: - name: generate-ogp-images image: reg.kazu634.com/kazu634/tcardgen:v0.3 commands: - - mkdir -p static/ogp/ + - mkdir -p static/ogp/ && rm static/ogp/* - wget 'https://github.com/yuru7/HackGen/releases/download/v2.3.0/HackGenNerd_v2.3.0.zip' -O /tmp/font.zip - unzip /tmp/font.zip -d /tmp/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 2>&1 - - find static/ogp/ -type f -name '*.png' | xargs -I% -n 1 img2webp -lossy -q 50 % -o %.webp > /dev/null 2>&1 + - 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 -I% -n 1 img2webp -lossy -q 50 % -o %.webp > /dev/null - find static/ogp/ -type f -name '*.png.webp' | xargs -I% -n 1 -t mv % static/ogp/`basename % .png.webp`.webp - find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm