Git clone recursive

This commit is contained in:
2025-10-08 23:07:14 +02:00
parent 7c92373995
commit 1f05581994

View File

@@ -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