Add `sudo` again

This commit is contained in:
Kazuhiro MUSASHI 2020-02-16 20:35:24 +07:00
parent 6cb3aae739
commit 26a55c7c81
1 changed files with 1 additions and 2 deletions

View File

@ -65,10 +65,9 @@ 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: hugo - name: hugo
user: root
image: cibuilds/hugo:0.64.1 image: cibuilds/hugo:0.64.1
commands: commands:
- hugo --cacheDir /tmp -e staging -v -s . - sudo hugo -e staging -v -s .
- name: Compress-the-Assets - name: Compress-the-Assets
user: root user: root