This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5bc3c9acba4 [fix] fix cron build (#3614)
5bc3c9acba4 is described below
commit 5bc3c9acba4641788d36c79657ef3030fb2f2e87
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Tue May 5 18:43:22 2026 -0700
[fix] fix cron build (#3614)
---
.github/workflows/cron-deploy-website.yml | 4 +++-
.github/workflows/manual-deploy-website.yml | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/cron-deploy-website.yml
b/.github/workflows/cron-deploy-website.yml
index c7a8ade5f4e..63b4098f1b3 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -44,7 +44,9 @@ jobs:
PWA_SERVICE_WORKER_URL=https://doris.apache.org/sw.js yarn
docusaurus build --locale zh-CN --out-dir build-zh
rm -rf ./build && mkdir ./build
cp -a ./build-en/. ./build/
- cp -a ./build-zh/zh-CN/. ./build/zh-CN/
+ # docusaurus build --locale zh-CN --out-dir build-zh writes
the locale's full output directly under build-zh/ (no zh-CN subdir); the
emitted HTML already contains /zh-CN/ URL prefixes, so we publish build-zh/
verbatim under build/zh-CN/.
+ mkdir -p ./build/zh-CN
+ cp -a ./build-zh/. ./build/zh-CN/
if [ ! -d "./ja-build" ]; then
echo "ja-build directory not found, aborting to avoid
publishing incorrect ja content."
exit 1
diff --git a/.github/workflows/manual-deploy-website.yml
b/.github/workflows/manual-deploy-website.yml
index 92d2e1a9cdb..7b05353e8fe 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -47,7 +47,9 @@ jobs:
PWA_SERVICE_WORKER_URL=https://doris.apache.org/sw.js yarn
docusaurus build --locale zh-CN --out-dir build-zh
rm -rf ./build && mkdir ./build
cp -a ./build-en/. ./build/
- cp -a ./build-zh/zh-CN/. ./build/zh-CN/
+ # docusaurus build --locale zh-CN --out-dir build-zh writes
the locale's full output directly under build-zh/ (no zh-CN subdir); the
emitted HTML already contains /zh-CN/ URL prefixes, so we publish build-zh/
verbatim under build/zh-CN/.
+ mkdir -p ./build/zh-CN
+ cp -a ./build-zh/. ./build/zh-CN/
if [ ! -d "./ja-build" ]; then
echo "ja-build directory not found, aborting to avoid
publishing incorrect ja content."
exit 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]