Get submodule after switching to a branch
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user