add submodule init

This commit is contained in:
OCram85 2021-12-23 14:34:14 +01:00
parent dfc44f2385
commit dfc528910c

View File

@ -9,6 +9,11 @@ trigger:
- tag
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: "Hugo test build"
image: klakegg/hugo:0.91.0-ext-ubuntu
commands:
@ -31,6 +36,11 @@ depends_on:
- "Test Pipeline"
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: "Build (${DRONE_BRANCH} as next)"
image: plugins/docker
settings:
@ -65,6 +75,11 @@ depends_on:
- "Test Pipeline"
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: "Build (master)"
image: plugins/docker
settings:
@ -91,6 +106,11 @@ trigger:
include:
- tag
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: "Build tag image"
image: plugins/docker
settings: