This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 222433f60b6 swith to npm install due to yarn install fail(not sure why)
222433f60b6 is described below
commit 222433f60b6f71089a1687d4b8d8c6493cd5b58d
Author: Li Li <[email protected]>
AuthorDate: Thu Sep 1 10:06:29 2022 +0800
swith to npm install due to yarn install fail(not sure why)
Signed-off-by: Li Li <[email protected]>
---
site2/tools/build-site.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/tools/build-site.sh b/site2/tools/build-site.sh
index f92b8252dd1..c17c679d7ee 100755
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -72,7 +72,7 @@ export NODE_OPTIONS="--max-old-space-size=16000"
$TOOLS_DIR/generate-api-docs.sh
cd $WEBSITE_DIR
-yarn
+npm install
if [ -n "$NEXT" ]; then
node scripts/replace.js