Skip to content

Commit d5cf169

Browse files
Add Netlify Configuration to branch (#1791)
* Create build.sh * Add files via upload * Update netlify.toml * Remove redirects comment
1 parent 8008adb commit d5cf169

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@@ -0,0 +1,7 @@
2+
# ensures that we always use the latest version of the script
3+
if [ -f build-site.sh ]; then
4+
rm build-site.sh
5+
fi
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

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[[integrations]]
2+
name = "snooty-cache-plugin"
3+
4+
[build]
5+
publish = "snooty/public"
6+
command = ". ./build.sh"

0 commit comments

Comments
 (0)