Execute `git submodule`.

This commit is contained in:
Kazuhiro MUSASHI 2021-11-14 22:27:59 +09:00 committed by Gitea
parent bac3b5e632
commit 5b9e94c192
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,11 @@ steps:
- find static/ogp/ -type f -name '*.png' | xargs -n 1 -I% basename % .png | xargs -I% -n 1 img2webp -lossy -q 50 static/ogp/%.png -o static/ogp/%.webp > /dev/null
- find static/ogp/ -type f -name '*.png' | xargs --no-run-if-empty rm
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: hugo
image: cibuilds/hugo:0.89.2
commands:
@ -72,6 +77,11 @@ steps:
- grep -l -r ecx.images-amazon.com content/ | sort | uniq | xargs -t --no-run-if-empty sed -ie "s/http:\/\/ecx.images-amazon.com/https:\/\/images-na.ssl-images-amazon.com/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: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: hugo
image: cibuilds/hugo:0.89.2
commands: