Skip to content

Commit 3496579

Browse files
committed
Add scripts for netlify build
1 parent 682c44d commit 3496579

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
2+
sh build-site.sh

netlify.toml

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

0 commit comments

Comments
 (0)