From 1bcd800ed7b078604fc72953e76715c92a274b3c Mon Sep 17 00:00:00 2001 From: kazu634 Date: Sun, 16 Feb 2020 20:25:48 +0700 Subject: [PATCH] Add `sudo` command in front of `hugo` --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 31f7017..534a222 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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