Specify the current directory as the argument of `hugo` command.
This commit is contained in:
parent
f8f2bc10d5
commit
67ce8fa39c
|
@ -12,7 +12,7 @@ steps:
|
|||
- name: hugo
|
||||
image: cibuilds/hugo:0.62.1
|
||||
commands:
|
||||
- if [ "${DRONE_BRANCH}" != "master" ]; then hugo -e staging -v -s; else hugo -e production -v -s; fi
|
||||
- if [ "${DRONE_BRANCH}" != "master" ]; then hugo -e staging -v -s .; else hugo -e production -v -s .; fi
|
||||
|
||||
- name: Compress-the-Assets
|
||||
image: cibuilds/hugo:0.62.1
|
||||
|
|
Loading…
Reference in New Issue