Skip to content

Commit

Permalink
Clone module repo with depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Oct 14, 2019
1 parent e5a8080 commit 3b90785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ steps:
- ssh-add -D
- echo "$SSH_KEY_MODULE" | tr -d '\r' | ssh-add -

- git clone $MODULE_REPO $MODULE_NAME
- git clone --depth=1 $MODULE_REPO $MODULE_NAME
- cd $MODULE_NAME
- find . ! -name ".git" -maxdepth 1 -exec rm -rf {} + || true
- unzip -o "../build/*.zip" -d "."
Expand Down

0 comments on commit 3b90785

Please sign in to comment.