Add `sudo` command in front of `hugo`
This commit is contained in:
parent
a0153469f0
commit
1bcd800ed7
|
@ -66,8 +66,7 @@ steps:
|
||||||
- name: hugo
|
- name: hugo
|
||||||
image: cibuilds/hugo:0.64.1
|
image: cibuilds/hugo:0.64.1
|
||||||
commands:
|
commands:
|
||||||
- pwd && id & ls -lR /drone/src
|
- sudo hugo -e staging -v -s .
|
||||||
- hugo --cacheDir /tmp -e staging -v -s .
|
|
||||||
|
|
||||||
- name: Compress-the-Assets
|
- name: Compress-the-Assets
|
||||||
image: cibuilds/hugo:0.64.1
|
image: cibuilds/hugo:0.64.1
|
||||||
|
|
Loading…
Reference in New Issue