forked from Bubs/fedi-admin-guide
Add submodule recursion
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
e10497d8f9
commit
d537cb5350
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue