From 091b91bb08b7b919b2978b7747b2c94894b7a68f Mon Sep 17 00:00:00 2001 From: Simon Vrachliotis Date: Wed, 30 Aug 2023 14:45:15 +1000 Subject: [PATCH] switch to cloud --- docs/keystatic.config.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/keystatic.config.tsx b/docs/keystatic.config.tsx index b5c5ec2d4..84bd4254b 100644 --- a/docs/keystatic.config.tsx +++ b/docs/keystatic.config.tsx @@ -75,8 +75,8 @@ const markdocConfig: Config = { }, }; -// const shouldUseCloudStorage = true; // process.env.NODE_ENV === 'production'; -const shouldUseCloudStorage = process.env.NODE_ENV === 'production'; +// const shouldUseCloudStorage = process.env.NODE_ENV === 'production'; +const shouldUseCloudStorage = true; const pathPrefix = shouldUseCloudStorage ? 'docs/' : ''; export const readerPath = shouldUseCloudStorage ? process.cwd().replace(/\/docs/, '') @@ -87,7 +87,7 @@ export default config({ kind: shouldUseCloudStorage ? 'cloud' : 'local', }, cloud: { - project: 'thinkmill-labs/keystatic-site', + project: 'thinkmill-labs/keystatic-docs', }, collections: { // ------------------------------