From d537cb53509ea7e25ee53772183e06e2f9b468d1 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Thu, 31 Mar 2022 17:49:11 +0200 Subject: [PATCH] Add submodule recursion Signed-off-by: Sam Therapy --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9bd98d9..d452084 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,11 +3,15 @@ type: docker name: Build and Deploy steps: +- name: Submodules + image: alpine/git + commands: + - git submodule update --init --recursive - name: Build image: xdevbase/hugo-builder:latest commands: - hugo --destination /drone/src/build - - minify -r -o /drone/src/build /drone/src/build + #- minify -r -o /drone/src/build /drone/src/build - name: Deploy image: xdevbase/hugo-builder:latest