From 464f579b624c5cbcd2d158e6a20b56d25cedc561 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 5 Jan 2020 20:36:49 +0800 Subject: [PATCH] Modify the YAML syntax. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fc20703..7006da6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: hugo image: cibuilds/hugo:0.62.1 - commands: | + commands: > if [ "${DRONE_BRANCH}" != "master" ]; then hugo -e staging -v -s else @@ -20,7 +20,7 @@ steps: - name: Compress-the-Assets image: cibuilds/hugo:0.62.1 - commands: | + commands: > for TARGET in `find public/ -type f | egrep "\.(css|js|png|jpg|JPG|PNG|CSS|JS)$"` do gzip -c ${TARGET} > ${TARGET}.gz