Handle git submodules
This commit is contained in:
parent
3970c80747
commit
c080bd1ecc
1 changed files with 2 additions and 1 deletions
|
|
@ -9,8 +9,9 @@ fi
|
||||||
if [[ -d "$WEBSITE_SOURCE/.git" ]] ; then
|
if [[ -d "$WEBSITE_SOURCE/.git" ]] ; then
|
||||||
cd $WEBSITE_SOURCE
|
cd $WEBSITE_SOURCE
|
||||||
git pull || exit 1
|
git pull || exit 1
|
||||||
|
git submodule update --init --recursive
|
||||||
else
|
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
|
cd $WEBSITE_SOURCE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue