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/09/22 06:31:31 UTC
[pulsar-site] branch main updated: ignore non-English language when clean content
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 59e422d2159 ignore non-English language when clean content
59e422d2159 is described below
commit 59e422d215988cf70b302d70b9269b25e9d59161
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Sep 22 14:31:18 2022 +0800
ignore non-English language when clean content
Signed-off-by: Li Li <ur...@apache.org>
---
site2/tools/publish-website.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/site2/tools/publish-website.sh b/site2/tools/publish-website.sh
index 40351daa978..0579d2745d2 100755
--- a/site2/tools/publish-website.sh
+++ b/site2/tools/publish-website.sh
@@ -57,6 +57,11 @@ PULSAR_SITE_TMP=/tmp/pulsar-site
echo "clean all the old content"
find $PULSAR_SITE_TMP/content -print \
| grep -v $PULSAR_SITE_TMP/content$ \
+ | grep -v $PULSAR_SITE_TMP/content/zh-CN \
+ | grep -v $PULSAR_SITE_TMP/content/zh-TW \
+ | grep -v $PULSAR_SITE_TMP/content/ja \
+ | grep -v $PULSAR_SITE_TMP/content/ko \
+ | grep -v $PULSAR_SITE_TMP/content/fr \
| grep -v $PULSAR_SITE_TMP/content/api \
| grep -v $PULSAR_SITE_TMP/content/css \
| grep -v $PULSAR_SITE_TMP/content/tools \