Get submodule after switching to a branch
This commit is contained in:
parent
68dea24cf2
commit
a02f98af92
@ -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