Skip to content

Commit

Permalink
chore: Update pnpm build command in deploy-server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Jul 10, 2024
1 parent 10e4fec commit 4e76575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Build Docs
env:
NODE_OPTIONS: --max_old_space_size=4096
run: pnpm run build:vite
run: pnpm run build

# https://github.com/marketplace/actions/ssh-deploy
- name: Deploy to Server
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ jobs:
# if your docs needs submodules, uncomment the following line
# submodules: true


- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
run_install: true


- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -38,7 +36,7 @@ jobs:
env:
BASE: /igeekfan-docs/
NODE_OPTIONS: --max_old_space_size=4096
run: pnpm run build:vite
run: pnpm run build

- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4
Expand All @@ -47,4 +45,3 @@ jobs:
branch: gh-pages
clean: true
folder: docs/.vuepress/dist

0 comments on commit 4e76575

Please sign in to comment.