Skip to content

Commit 428549b

Browse files
authored
Update build.sh to master
1 parent 70f0a73 commit 428549b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ if [ -f build-site.sh ]; then
33
rm build-site.sh
44
fi
55

6-
6+
if [ -d "source" ]; then
7+
rm -rf source
8+
fi
9+
git submodule update --init --recursive
10+
mkdir source && cp -r laravel-mongodb/docs/* source
711
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
8-
sh build-site.sh
12+
sh build-site.sh

0 commit comments

Comments
 (0)