Skip to content

Commit a336664

Browse files
V7.2 cleanup Remove docs-tools from build (#11804)
* v7.2-cleanup remove build/docs-tools folder * v7.2-cleanup add build.sh, netlify.toml
1 parent db53260 commit a336664

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ensures that we always use the latest version of the script
2+
if [ -f build-site.sh ]; then
3+
rm build-site.sh
4+
fi
5+
6+
7+
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
8+
sh build-site.sh

build/docs-tools

Lines changed: 0 additions & 1 deletion
This file was deleted.

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Production context: all deploys from the Production branch
2+
# set in your site’s Branches settings in the UI will inherit
3+
# these settings.
4+
[build]
5+
publish = "snooty/public"
6+
command = ". ./build.sh"

0 commit comments

Comments
 (0)