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

gongchao pushed a commit to branch update-2e87dd
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit 9534ddfcc02c6cb5a78138fea53ba2e7caeb6893
Author: tomsun28 <[email protected]>
AuthorDate: Sun Feb 15 16:11:23 2026 +0800

    fix: fix home doc deploy action
    
    Signed-off-by: tomsun28 <[email protected]>
---
 .github/workflows/doc-deploy.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/doc-deploy.yml b/.github/workflows/doc-deploy.yml
index bb66c8f861..7b27a42961 100644
--- a/.github/workflows/doc-deploy.yml
+++ b/.github/workflows/doc-deploy.yml
@@ -49,15 +49,21 @@ jobs:
         with:
           node-version: '20'
 
+      # Setup pnpm
+      - name: Setup pnpm
+        uses: pnpm/action-setup@v4
+        with:
+          version: latest
+
       # Install dependencies in home directory
       - name: Install Dependencies
         working-directory: home
-        run: npm ci
+        run: pnpm install --frozen-lockfile
 
       # Build the documentation site
       - name: Build Documentation
         working-directory: home
-        run: npm run build
+        run: pnpm run build
         env:
           NODE_OPTIONS: --max-old-space-size=4096
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to