This is an automated email from the ASF dual-hosted git repository.

kassiez 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 2834510852d Adjust the execution order of the update hash script 
(#1967)
2834510852d is described below

commit 2834510852d9766a725169fe42319b5e0cbcc650
Author: yangon <2689991...@qq.com>
AuthorDate: Wed Feb 5 18:48:43 2025 +0800

    Adjust the execution order of the update hash script (#1967)
---
 .github/workflows/build-check.yml         | 4 +++-
 .github/workflows/cron-deploy-website.yml | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-check.yml 
b/.github/workflows/build-check.yml
index 02dfa821e38..fb4c93c1b88 100644
--- a/.github/workflows/build-check.yml
+++ b/.github/workflows/build-check.yml
@@ -67,6 +67,8 @@ jobs:
                   npm install -g yarn
                   yarn cache clean
                   export NODE_OPTIONS=--max-old-space-size=8192
-                  yarn && yarn build
+                  yarn
+                  node ./scripts/update_search_hash.js
+                  yarn build
 
                   rm -rf build
diff --git a/.github/workflows/cron-deploy-website.yml 
b/.github/workflows/cron-deploy-website.yml
index b3c16481ebc..9dc9daa1906 100644
--- a/.github/workflows/cron-deploy-website.yml
+++ b/.github/workflows/cron-deploy-website.yml
@@ -37,8 +37,9 @@ jobs:
                   npm install -g yarn
                   yarn cache clean
                   export NODE_OPTIONS=--max-old-space-size=8192
+                  yarn
                   node ./scripts/update_search_hash.js
-                  yarn && yarn build
+                  yarn build
                   touch build/.dummy
                   cp .asf-site.yaml ./build/.asf.yaml
                   cp versions.json ./build/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to