You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/05/27 02:37:23 UTC

[incubator-doris-website] branch master updated: [chore] update node memory limit to 4g

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9996601c10 [chore] update node memory limit to 4g
9996601c10 is described below

commit 9996601c1087eb4306cc67b0d103678a24e92ed8
Author: morningman <mo...@163.com>
AuthorDate: Fri May 27 10:37:12 2022 +0800

    [chore] update node memory limit to 4g
---
 .github/workflows/cron-deploy-website.yml   | 2 +-
 .github/workflows/manual-deploy-website.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cron-deploy-website.yml b/.github/workflows/cron-deploy-website.yml
index b2bed40dbd..7a447d443d 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -29,7 +29,7 @@ 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
+        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`
diff --git a/.github/workflows/manual-deploy-website.yml b/.github/workflows/manual-deploy-website.yml
index 618c8975a0..5c2407f094 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -36,7 +36,7 @@ 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
+        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