Add `sudo` command in front of `hugo`
This commit is contained in:
parent
a0153469f0
commit
1bcd800ed7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue