From 0934bc322677ea52389782d77e23203c455c775e Mon Sep 17 00:00:00 2001 From: slorber Date: Thu, 29 Oct 2020 10:24:59 +0100 Subject: [PATCH 1/4] fix v2 deployment --- website/docusaurus.config.js | 3 ++- website/package.json | 2 +- website/static/.nojekyll | 0 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 website/static/.nojekyll diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 409f7427b38..fdd62326f70 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -3,9 +3,10 @@ const users = require('./showcase.json'); module.exports = { title: 'React Native', tagline: 'A framework for building native apps using React', + organizationName: 'facebook', + projectName: 'react-native', url: 'https://reactnative.dev', baseUrl: '/', - projectName: 'react-native', scripts: [ { src: diff --git a/website/package.json b/website/package.json index a54f44a6dae..3f1c3dacfa2 100644 --- a/website/package.json +++ b/website/package.json @@ -15,7 +15,7 @@ "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "prepublish-gh-pages": "yarn sync-community-repos", - "publish-gh-pages": "docusaurus-publish", + "publish-gh-pages": "docusaurus deploy", "ci-check": "yarn prettier:diff && node image-check.js", "format:source": "prettier --write \"{core/**/*.js,src/**/*.js,static/js/**/*.js}\"", "format:markdown": "prettier --write \"{../docs/*.md,versioned_docs/**/*.md,blog/**/*.md}\"", diff --git a/website/static/.nojekyll b/website/static/.nojekyll new file mode 100644 index 00000000000..e69de29bb2d From 64c0845c6e7d7d130378d030acd90e7a9426214b Mon Sep 17 00:00:00 2001 From: slorber Date: Thu, 29 Oct 2020 10:45:59 +0100 Subject: [PATCH 2/4] test --- website/static/.nojekyll | 1 + 1 file changed, 1 insertion(+) diff --git a/website/static/.nojekyll b/website/static/.nojekyll index e69de29bb2d..8b137891791 100644 --- a/website/static/.nojekyll +++ b/website/static/.nojekyll @@ -0,0 +1 @@ + From feae3d376dc04cb03ec1f4a7bf9641146253dfbd Mon Sep 17 00:00:00 2001 From: slorber Date: Thu, 29 Oct 2020 10:46:08 +0100 Subject: [PATCH 3/4] test --- website/static/.nojekyll | 1 - 1 file changed, 1 deletion(-) diff --git a/website/static/.nojekyll b/website/static/.nojekyll index 8b137891791..e69de29bb2d 100644 --- a/website/static/.nojekyll +++ b/website/static/.nojekyll @@ -1 +0,0 @@ - From 14249ee50b583737b0f929c23c649bea28ccfb7d Mon Sep 17 00:00:00 2001 From: slorber Date: Thu, 29 Oct 2020 10:54:55 +0100 Subject: [PATCH 4/4] increase memory for circleci tests workflow, as yarn test actually builds the site --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index dd019ade62f..4d2b665da42 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,6 +60,7 @@ jobs: - restore_cache_checkout - run_yarn - run: yarn ci-check + - run: export NODE_OPTIONS=--max_old_space_size=4096 - run: yarn test - run: name: Check for missing index.html (build errors)