Modify the regular expressions.

This commit is contained in:
Kazuhiro MUSASHI 2020-01-05 20:19:29 +08:00
parent cb24a3108c
commit 881b831291
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ steps:
- name: Modify-Amazon-Links
image: cibuilds/hugo:0.62.1
commands:
- 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 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"
trigger: