From 67ce8fa39c26ac077b4ee21cb33821dff88b04ec Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 5 Jan 2020 21:01:49 +0800 Subject: [PATCH] Specify the current directory as the argument of `hugo` command. --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9c411ce..3ff1866 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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