From e5b823d22450e5fb6ca5d865bdbd522b6de381b2 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Fri, 16 Aug 2024 14:48:22 -0400 Subject: [PATCH] Add Netlify config files via upload --- build.sh | 7 +++++++ netlify.toml | 6 ++++++ 2 files changed, 13 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..a5e1503 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +# 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 diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..d0c8904 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,6 @@ +[[integrations]] +name = "snooty-cache-plugin" + +[build] +publish = "snooty/public" +command = ". ./build.sh"