You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/06/13 08:40:45 UTC

[pulsar-site] 01/01: fix: upgrade build node versions

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

urfree pushed a commit to branch fix/update-node
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit b9214448746d5686dee1e356678fcf191fe8d235
Author: Li Li <ur...@apache.org>
AuthorDate: Mon Jun 13 16:40:33 2022 +0800

    fix: upgrade build node versions
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 .github/workflows/ci-pulsar-website-next-build.yaml | 5 +++++
 site2/website-next/scripts/split-version-build.sh   | 2 --
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml b/.github/workflows/ci-pulsar-website-next-build.yaml
index 8fe7738136b..10927d31819 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -92,6 +92,11 @@ jobs:
       - name: Generate swagger json file
         run: mvn -B -ntp -pl pulsar-broker install -DskipTests -Pswagger
 
+      - name: Setup Node 
+        uses: actions/setup-node@v2
+        with:
+          node-version: 16
+
       - name: Publish
         env:
           GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
diff --git a/site2/website-next/scripts/split-version-build.sh b/site2/website-next/scripts/split-version-build.sh
index 91f946c72a1..5f468aa8179 100755
--- a/site2/website-next/scripts/split-version-build.sh
+++ b/site2/website-next/scripts/split-version-build.sh
@@ -56,8 +56,6 @@ else
     BUILD_ALL_VERSION="0"
 fi
 
-BUILD_ALL_VERSION="1"
-
 # sometimes need build specify versions
 SUPPLEMENT_VERSIONS=$latest