Get submodule after switching to a branch

This commit is contained in:
Nikolai Rodionov 2023-05-10 17:08:45 +02:00
parent f6ee176a7b
commit 47abfd0116
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF

View File

@ -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