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