From dfc528910c8149d5aff0d0db438be0943c28df5f Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 23 Dec 2021 14:34:14 +0100 Subject: [PATCH] add submodule init --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.drone.yml b/.drone.yml index d270a7c..666b6fc 100644 --- a/.drone.yml +++ b/.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: