Specify `set +o pipefail`:
``` --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,6 +18,7 @@ jobs: name: Change Amazon Links working_directory: /root/project/ command: | + set +o pipefail 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" @@ -30,6 +31,7 @@ jobs: name: Change Amazon Links working_directory: /root/project/ command: | + set +o pipefail 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" - run: ```
This commit is contained in:
parent
4f6f71f2f8
commit
c121f7db02
|
@ -18,6 +18,7 @@ jobs:
|
|||
name: Change Amazon Links
|
||||
working_directory: /root/project/
|
||||
command: |
|
||||
set +o pipefail
|
||||
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"
|
||||
|
||||
|
@ -30,6 +31,7 @@ jobs:
|
|||
name: Change Amazon Links
|
||||
working_directory: /root/project/
|
||||
command: |
|
||||
set +o pipefail
|
||||
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"
|
||||
|
||||
- run:
|
||||
|
|
Loading…
Reference in New Issue