From a02f98af92abdf60354af60b6752c8e763f0b4f8 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 10 May 2023 17:08:45 +0200 Subject: [PATCH] Get submodule after switching to a branch --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index abc2946..08dd62b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,8 +41,9 @@ steps: environment: GIT_LFS_SKIP_SMUDGE: 1 commands: - - git clone $DRONE_REMOTE_URL --recurse-submodules . + - git clone $DRONE_REMOTE_URL . - git checkout $DRONE_BRANCH + - git submodule update --init --recursive - name: Test a build image: git.badhouseplants.net/badhouseplants/hugo-builder