From cb24db899d07fbe83c734b0e18f7d9d618904b3b Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Sat, 12 Oct 2019 15:05:05 +0800 Subject: [PATCH] Adding netlify deploy config --- package.json | 2 +- packages/docs/netlify.toml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 packages/docs/netlify.toml diff --git a/package.json b/package.json index 5d68ce1ec7..416f35ca54 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "scripts": { "build": "yarn run build:docs && yarn run build:web", - "build:docs": "yarn workspace @supabase/docs build", + "d": "yarn workspace @supabase/docs build", "build:web": "yarn workspace @supabase/web build", "dev": "concurrently --kill-others-on-fail \"yarn dev:web\" \"yarn dev:docs\" ", "dev:docs": "yarn workspace @supabase/docs dev", diff --git a/packages/docs/netlify.toml b/packages/docs/netlify.toml new file mode 100644 index 0000000000..8aac4821ec --- /dev/null +++ b/packages/docs/netlify.toml @@ -0,0 +1,5 @@ +# COMMENT: This a rule for Single Page Applications as Docz site is one +[[redirects]] + from = "/*" + to = "/" + status = 200 \ No newline at end of file