add submodule init
This commit is contained in:
parent
dfc44f2385
commit
dfc528910c
20
.drone.yml
20
.drone.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user