Merge pull request 'Use the latest version of the docker image:' (#6) from trial-and-error-ci02 into master

Reviewed-on: #6
This commit is contained in:
Kazuhiro MUSASHI 2022-08-20 12:15:32 +00:00
commit e5542083a5
1 changed files with 1 additions and 1 deletions

View File

@ -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" - 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 - name: generate-ogp-images
image: reg.kazu634.com/kazu634/tcardgen:v0.3 image: reg.kazu634.com/kazu634/tcardgen
commands: commands:
- find /root -type f -name *.ttf | xargs -t -I% -n 1 cp -p % assets/font/ - 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 - 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