Git clone recursive
This commit is contained in:
@@ -15,7 +15,7 @@ WEBHOOK_BIN="/usr/local/bin/webhook"
|
||||
# Clone repo into volume if missing
|
||||
if [ ! -d "$REPO_DIR/.git" ]; then
|
||||
echo "Cloning $GIT_REPO (branch $GIT_BRANCH) into $REPO_DIR"
|
||||
git clone --branch "$GIT_BRANCH" --single-branch "$GIT_REPO" "$REPO_DIR"
|
||||
git clone --branch "$GIT_BRANCH" --single-branch --recursive "$GIT_REPO" "$REPO_DIR"
|
||||
else
|
||||
echo "Repository already exists at $REPO_DIR"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user