Add `sudo` command in front of `hugo`

This commit is contained in:
Kazuhiro MUSASHI 2020-02-16 20:25:48 +07:00
parent a0153469f0
commit 1bcd800ed7
1 changed files with 1 additions and 2 deletions

View File

@ -66,8 +66,7 @@ steps:
- name: hugo
image: cibuilds/hugo:0.64.1
commands:
- pwd && id & ls -lR /drone/src
- hugo --cacheDir /tmp -e staging -v -s .
- sudo hugo -e staging -v -s .
- name: Compress-the-Assets
image: cibuilds/hugo:0.64.1