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 c3d5b76aca5 update sync script
c3d5b76aca5 is described below
commit c3d5b76aca50f269a92393f00daa3eee21bfb3c4
Author: Li Li <[email protected]>
AuthorDate: Mon May 23 20:46:21 2022 +0800
update sync script
Signed-off-by: Li Li <[email protected]>
---
site2/website-next/scripts/sync-docs.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site2/website-next/scripts/sync-docs.sh
b/site2/website-next/scripts/sync-docs.sh
index e2590af720e..0a80ec6434b 100755
--- a/site2/website-next/scripts/sync-docs.sh
+++ b/site2/website-next/scripts/sync-docs.sh
@@ -24,9 +24,9 @@ cp -r $SRC_DIR/website/static/api
$ROOT_DIR/site2/website-next/static/
cd $ROOT_DIR/site2/website-next
if [ -d "node_modules" ]; then
- echo "skip install"
+ :
else
yarn install
fi
-node scripts/split-swagger-by-version.js
\ No newline at end of file
+node scripts/split-swagger-by-version.js