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 3ca641a update
3ca641a is described below
commit 3ca641a025f6844842d1ba8629612c828a57361c
Author: LiLi <[email protected]>
AuthorDate: Wed Feb 23 15:15:13 2022 +0800
update
Signed-off-by: LiLi <[email protected]>
---
.github/workflows/ci-pulsar-website-next-build.yaml | 11 ++++-------
site2/website-next/crowdin.yml | 2 +-
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci-pulsar-website-next-build.yaml
b/.github/workflows/ci-pulsar-website-next-build.yaml
index 79a4827..43a0d5f 100644
--- a/.github/workflows/ci-pulsar-website-next-build.yaml
+++ b/.github/workflows/ci-pulsar-website-next-build.yaml
@@ -95,14 +95,11 @@ jobs:
- name: Publish
env:
GH_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
- NEXT_CROWDIN_DOCUSAURUS_PROJECT_ID: ${{
secrets.NEXT_CROWDIN_DOCUSAURUS_PROJECT_ID }}
- NEXT_CROWDIN_DOCUSAURUS_API_TOKEN: ${{
secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
+ CROWDIN_PERSONAL_TOKEN: ${{
secrets.NEXT_CROWDIN_DOCUSAURUS_API_TOKEN }}
run: |
- echo "project id: "$NEXT_CROWDIN_DOCUSAURUS_PROJECT_ID
- echo "api token: "$NEXT_CROWDIN_DOCUSAURUS_API_TOKEN
- # cd site2/website-next
- # yarn install
- # yarn download
+ cd site2/website-next
+ yarn install
+ yarn download
# export CROWDIN_DOCUSAURUS_PROJECT_ID=apache-pulsar
# echo "Copying swagger json file ..."
# mkdir -p site2/website-next/static/swagger/master/
diff --git a/site2/website-next/crowdin.yml b/site2/website-next/crowdin.yml
index 3db1ba1..dd62a5b 100644
--- a/site2/website-next/crowdin.yml
+++ b/site2/website-next/crowdin.yml
@@ -1,5 +1,5 @@
project_id: 500516
-api_token: NEXT_CROWDIN_DOCUSAURUS_API_TOKEN
+api_token: CROWDIN_PERSONAL_TOKEN
preserve_hierarchy: true
files:
- source: "/i18n/en/**/*"