6th try
This commit is contained in:
parent
ff1b09174e
commit
42ad3a56d7
|
@ -84,11 +84,8 @@ steps:
|
||||||
FONT_DIR: assets/font/
|
FONT_DIR: assets/font/
|
||||||
CONFIG: assets/tcardgen.yaml
|
CONFIG: assets/tcardgen.yaml
|
||||||
commands:
|
commands:
|
||||||
- find ${OGP_DIR} -type f -name '*.png' | xargs -t --no-run-if-empty rm
|
- find static/ogp/ -type f -name '*.png' | xargs -t --no-run-if-empty rm
|
||||||
- LIST=`find ${CONTENT_DIR} -type f -name '*.md' | grep -v '_index'`
|
- find content/ -type f -name '*.md' | grep -v '_index' | xargs -n 1 -t /tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml
|
||||||
- for ARTICLE in ${LIST} ; do
|
|
||||||
- /tcardgen -f ${FONT_DIR} -o ${OGP_DIR} -c ${CONFIG} ${ARTICLE}
|
|
||||||
- done
|
|
||||||
|
|
||||||
- name: hugo
|
- name: hugo
|
||||||
image: cibuilds/hugo:0.83.0
|
image: cibuilds/hugo:0.83.0
|
||||||
|
|
Loading…
Reference in New Issue