From c080bd1eccabd1969f50dbf231fdebe17b33b946 Mon Sep 17 00:00:00 2001 From: Stefan Schlott Date: Fri, 26 Aug 2022 19:25:36 +0200 Subject: [PATCH] Handle git submodules --- scripts/update-site.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/update-site.sh b/scripts/update-site.sh index 35a1dc65..ad52b289 100755 --- a/scripts/update-site.sh +++ b/scripts/update-site.sh @@ -9,8 +9,9 @@ fi if [[ -d "$WEBSITE_SOURCE/.git" ]] ; then cd $WEBSITE_SOURCE git pull || exit 1 + git submodule update --init --recursive else - git clone git@github.com:cccs/cccs-website.git "$WEBSITE_SOURCE" || exit 1 + git clone --recursive git@github.com:cccs/cccs-website.git "$WEBSITE_SOURCE" || exit 1 cd $WEBSITE_SOURCE fi