From 751c38a0340b7f44d598632af53cfc7a8007ba09 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 25 Oct 2022 10:34:56 -0400 Subject: [PATCH] Add netlify config --- website/netlify.toml | 6 ++++++ website/public/_redirects | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 website/netlify.toml delete mode 100644 website/public/_redirects diff --git a/website/netlify.toml b/website/netlify.toml new file mode 100644 index 00000000..28afb57b --- /dev/null +++ b/website/netlify.toml @@ -0,0 +1,6 @@ +[build] + command = "yarn build" + publish = ".next" + +[[plugins]] + package = "@netlify/plugin-nextjs" diff --git a/website/public/_redirects b/website/public/_redirects deleted file mode 100644 index 2d105cc2..00000000 --- a/website/public/_redirects +++ /dev/null @@ -1,9 +0,0 @@ -/static-cms/docs /docs/intro 301 -/docs/custom-authentication /docs/backends-overview 301 -/docs/authentication-backends /docs/backends-overview 301 -/docs/extending /docs/custom-widgets 301 -/docs/validation /docs/custom-widgets/#advanced-field-validation 301 -/docs/test-drive /docs/start-with-a-template 301 -/docs/quick-start /docs/add-to-your-site 301 -/static-cms/chat https://join.slack.com/t/static-cms/shared_invite/zt-1gvgnf5yv-E4sR17YnEcOy6fLFH9m7bQ 301 -/docs/update-the-cms-version /docs/releases 301