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/01 06:17:36 UTC
[pulsar] branch master updated: [feature][website]update preview scripts (#15873)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 554c15d50d4 [feature][website]update preview scripts (#15873)
554c15d50d4 is described below
commit 554c15d50d4195418fc0d1e25fde6c9e0c895bdd
Author: Li Li <ur...@apache.org>
AuthorDate: Wed Jun 1 14:17:29 2022 +0800
[feature][website]update preview scripts (#15873)
---
site2/website/api.sh | 1 +
site2/website/start.sh | 1 +
2 files changed, 2 insertions(+)
diff --git a/site2/website/api.sh b/site2/website/api.sh
index 00164347628..66da4cd9879 100755
--- a/site2/website/api.sh
+++ b/site2/website/api.sh
@@ -6,6 +6,7 @@ cd .preview
if [ -d "$ROOT_DIR/site2/.preview/pulsar-site" ]; then
cd pulsar-site
+ git clean -f
git checkout .
git pull origin main
else
diff --git a/site2/website/start.sh b/site2/website/start.sh
index b582ddf2d0f..6163fc5c05d 100755
--- a/site2/website/start.sh
+++ b/site2/website/start.sh
@@ -6,6 +6,7 @@ cd .preview
if [ -d "$ROOT_DIR/site2/.preview/pulsar-site" ]; then
cd pulsar-site
+ git clean -f
git checkout .
git pull origin main
else