This commit is contained in:
Kazuhiro MUSASHI 2021-05-02 15:10:40 +09:00
parent 5afca5e21d
commit a4ed83d0bd
1 changed files with 2 additions and 2 deletions

View File

@ -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