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/05/24 03:49:47 UTC
[pulsar] branch fix/website-watch-script created (now ac645c47b21)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a change to branch fix/website-watch-script
in repository https://gitbox.apache.org/repos/asf/pulsar.git
at ac645c47b21 update
This branch includes the following new commits:
new ac645c47b21 update
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[pulsar] 01/01: update
Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch fix/website-watch-script
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit ac645c47b2156f2575cc16be2217df019bfac404
Author: Li Li <ur...@apache.org>
AuthorDate: Tue May 24 11:49:36 2022 +0800
update
Signed-off-by: Li Li <ur...@apache.org>
---
site2/website/start.sh | 4 ++--
site2/website/watch.sh | 9 ---------
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/site2/website/start.sh b/site2/website/start.sh
index 58711122018..b8012dd208d 100755
--- a/site2/website/start.sh
+++ b/site2/website/start.sh
@@ -6,8 +6,8 @@ cd .preview
if [ -d "$ROOT_DIR/site2/.preview/pulsar-site" ]; then
cd pulsar-site
- # git checkout .
- # git pull origin main
+ git checkout .
+ git pull origin main
else
git clone -b main --depth 1 https://github.com/apache/pulsar-site.git
fi
diff --git a/site2/website/watch.sh b/site2/website/watch.sh
deleted file mode 100755
index c8b7ab1bf02..00000000000
--- a/site2/website/watch.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-ROOT_DIR=$(git rev-parse --show-toplevel)
-cd $ROOT_DIR/site2/.preview/pulsar-site/site2/website-next
-
-echo "monitoring file changes..."
-while true; do
- sh scripts/sync-docs.sh pulsar
- sleep 1
-done