This is an automated email from the ASF dual-hosted git repository.
shown pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new dea7bdc7fe fix: fix home doc deploy action (#4029)
dea7bdc7fe is described below
commit dea7bdc7fe5df377d9727375eb801beeb6eae2fa
Author: Tomsun28 <[email protected]>
AuthorDate: Sun Mar 1 19:37:09 2026 +0800
fix: fix home doc deploy action (#4029)
Co-authored-by: shown <[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]