From 8b3ac3fc64d70f8275174af65c57305856ab2a30 Mon Sep 17 00:00:00 2001 From: Brandon Ly Date: Mon, 26 Aug 2024 09:50:51 -0500 Subject: [PATCH] Add files via upload --- build.sh | 8 ++++++++ netlify.toml | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 build.sh create mode 100644 netlify.toml diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..b62b677 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +# ensures that we always use the latest version of the script +if [ -f build-site.sh ]; then + rm build-site.sh +fi + + +curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh +sh build-site.sh \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..2d0a3b9 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[[integrations]] +name = "snooty-cache-plugin" + +# Production context: all deploys from the Production branch +# set in your site’s Branches settings in the UI will inherit +# these settings. +[build] +publish = "snooty/public" +command = ". ./build.sh"