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/10/12 01:53:40 UTC

[pulsar-site] branch main updated: trim more i18n content (#250)

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 d168608585f trim more i18n content (#250)
d168608585f is described below

commit d168608585fc4e22efe5642f43442aa2edf2767a
Author: tison <wa...@gmail.com>
AuthorDate: Wed Oct 12 09:53:36 2022 +0800

    trim more i18n content (#250)
---
 .github/workflows/ci-pulsar-website-next-build.yaml | 1 -
 site2/tools/publish-website.sh                      | 6 ------
 2 files changed, 7 deletions(-)

diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml b/.github/workflows/ci-pulsar-website-next-build.yaml
index c91efc96f8e..8565352bbb3 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -105,6 +105,5 @@ jobs:
           CROWDIN_PERSONAL_TOKEN: ${{ secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
         run: |
           echo "Building Website"
-          sed -i "s#CROWDIN_PERSONAL_TOKEN#$CROWDIN_PERSONAL_TOKEN#g" site2/website-next/crowdin.yml
           site2/tools/docker-build-site.sh next ${{ steps.changed-files.outputs.all_changed_and_modified_files }}
           bash -e site2/tools/publish-website.sh next
diff --git a/site2/tools/publish-website.sh b/site2/tools/publish-website.sh
index 3cf7b4aefc6..e23c5b154bb 100755
--- a/site2/tools/publish-website.sh
+++ b/site2/tools/publish-website.sh
@@ -57,17 +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/charts \
       | grep -v $PULSAR_SITE_TMP/content/css \
       | grep -v $PULSAR_SITE_TMP/content/tools \
       | grep -v $PULSAR_SITE_TMP/content/reference \
-      | grep -v $PULSAR_SITE_TMP/content/charts \
       | grep -v $PULSAR_SITE_TMP/content/.htaccess \
       | grep -v $PULSAR_SITE_TMP/content/docs/v2.0.1-incubating \
       | grep -v $PULSAR_SITE_TMP/content/docs/v2.0.0-rc1-incubating \