Use the latest version of the docker image:
``` --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: - grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g" - name: generate-ogp-images - image: reg.kazu634.com/kazu634/tcardgen:v0.3 + image: reg.kazu634.com/kazu634/tcardgen commands: - find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/ - find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null ```
This commit is contained in:
parent
7a80629e69
commit
f7ac62ea3e
|
@ -10,7 +10,7 @@ steps:
|
|||
- grep -l -r "http://www.amazon.co.jp/exec" content/ | sort | uniq | xargs -t --no-run-if-empty sed -i -e "s/http:\/\/www.amazon.co.jp\/exec/https:\/\/www.amazon.co.jp\/exec/g"
|
||||
|
||||
- name: generate-ogp-images
|
||||
image: reg.kazu634.com/kazu634/tcardgen:v0.3
|
||||
image: reg.kazu634.com/kazu634/tcardgen
|
||||
commands:
|
||||
- find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/
|
||||
- find content/ -type f -name '*.md' | grep -v '_index' | xargs -t -n 1 /usr/local/bin/tcardgen -f assets/font/ -o static/ogp/ -c assets/tcardgen.yaml > /dev/null
|
||||
|
|
Loading…
Reference in New Issue