bump the hugo docker image to 0.64.1
This commit is contained in:
parent
e0c1c8c7ff
commit
7ecaa922a9
12
.drone.yml
12
.drone.yml
|
@ -4,18 +4,18 @@ name: production
|
|||
|
||||
steps:
|
||||
- name: Modify-Amazon-Links
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.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 "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: hugo
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.1
|
||||
commands:
|
||||
- hugo -e production -v -s .
|
||||
|
||||
- name: Compress-the-Assets
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.1
|
||||
commands:
|
||||
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do gzip -c ${TARGET} > ${TARGET}.gz; done
|
||||
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do rm -f ${TARGET}; done
|
||||
|
@ -58,18 +58,18 @@ name: staging
|
|||
|
||||
steps:
|
||||
- name: Modify-Amazon-Links
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.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 "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: hugo
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.1
|
||||
commands:
|
||||
- hugo -e staging -v -s .
|
||||
|
||||
- name: Compress-the-Assets
|
||||
image: cibuilds/hugo:0.62.1
|
||||
image: cibuilds/hugo:0.64.1
|
||||
commands:
|
||||
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do gzip -c ${TARGET} > ${TARGET}.gz; done
|
||||
- for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"`; do rm -f ${TARGET}; done
|
||||
|
|
Loading…
Reference in New Issue