Get submodule after switching to a branch
This commit is contained in:
parent
f6ee176a7b
commit
47abfd0116
@ -41,8 +41,9 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
GIT_LFS_SKIP_SMUDGE: 1
|
GIT_LFS_SKIP_SMUDGE: 1
|
||||||
commands:
|
commands:
|
||||||
- git clone $DRONE_REMOTE_URL --recurse-submodules .
|
- git clone $DRONE_REMOTE_URL .
|
||||||
- git checkout $DRONE_BRANCH
|
- git checkout $DRONE_BRANCH
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Test a build
|
- name: Test a build
|
||||||
image: git.badhouseplants.net/badhouseplants/hugo-builder
|
image: git.badhouseplants.net/badhouseplants/hugo-builder
|
||||||
|
Reference in New Issue
Block a user