From a4ed83d0bdd24a83557668a1e80f6cbe509d7474 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 2 May 2021 15:10:40 +0900 Subject: [PATCH] 9th try. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fbdc56a..d277918 100644 --- a/.drone.yml +++ b/.drone.yml @@ -84,8 +84,8 @@ steps: FONT_DIR: assets/font/ CONFIG: assets/tcardgen.yaml commands: - - find static/ogp/ -type f -name '*.png' | xargs -t --no-run-if-empty rm - - find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 -t tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml + - mkdir -p static/ogp/ + - find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 -t /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml - name: hugo image: cibuilds/hugo:0.83.0