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 7ead745 update
7ead745 is described below
commit 7ead745cda0520b9f8c7b2b9d8911bd70a78c901
Author: LiLi <[email protected]>
AuthorDate: Wed Feb 23 16:11:08 2022 +0800
update
Signed-off-by: LiLi <[email protected]>
---
.github/workflows/ci-pulsar-website-next-build.yaml | 1 +
site2/tools/build-site.sh | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml
b/.github/workflows/ci-pulsar-website-next-build.yaml
index 953790f..04256a6 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -103,5 +103,6 @@ jobs:
echo "Copied swagger json file."
echo "Building Website"
# Build the new 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/build-site.sh b/site2/tools/build-site.sh
index ccc3064..cfca2489 100755
--- a/site2/tools/build-site.sh
+++ b/site2/tools/build-site.sh
@@ -98,7 +98,6 @@ cd ${ROOT_DIR}/site2/$WEBSITE_DIR
yarn
if [ -n "$NEXT" ]; then
- sed -i "s#CROWDIN_PERSONAL_TOKEN#$CROWDIN_PERSONAL_TOKEN#g" crowdin.yml
yarn download
node scripts/replace.js