Add submodule recursion
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-03-31 17:49:11 +02:00
parent e10497d8f9
commit d537cb5350
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

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