Specify the current directory as the argument of `hugo` command.

This commit is contained in:
Kazuhiro MUSASHI 2020-01-05 21:01:49 +08:00
parent f8f2bc10d5
commit 67ce8fa39c
1 changed files with 1 additions and 1 deletions

View File

@ -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