You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/05/27 10:14:08 UTC
[incubator-doris-website] 02/03: JavaScript heap out of memory
This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-website.git
commit 1b95b4551db993f4a68f52510d3f0ccb6b60ca29
Merge: 9b848da23c 9996601c10
Author: jiafeng.zhang <zh...@gmail.com>
AuthorDate: Fri May 27 18:12:42 2022 +0800
JavaScript heap out of memory
JavaScript heap out of memory
.github/workflows/cron-deploy-website.yml | 4 ++++
.github/workflows/manual-deploy-website.yml | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --cc .github/workflows/cron-deploy-website.yml
index f3a902e022,7a447d443d..fa25f120cd
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@@ -29,9 -29,7 +29,13 @@@ jobs
sed -i "s/BUILDING_BRANCH\.length > 0/BUILDING_BRANCH\.length > 0 \&\& BUILDING_BRANCH !== 'master'/g" .vuepress/config.js
sed -i 's/en\///g' en/README.md
mv en/* ./
++
+ npm install && npm run build
+ npm install -g increase-memory-limit
+ increase-memory-limit
++
+ export NODE_OPTIONS="--max-old-space-size=4096" && npm install && npm run build
++
touch .vuepress/dist/.dummy
ls .vuepress/dist/
export DORIS_COMMIT=`git rev-parse HEAD`
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org