Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexliyu7352 committed Dec 15, 2023
1 parent c51cef5 commit ab63f7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6,713 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 部署文档
name: deploy-docs

on:
push:
Expand All @@ -17,25 +17,25 @@ jobs:
with:
fetch-depth: 0

- name: 安装 pnpm
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true

- name: 设置 Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: 构建文档
- name: Docs build
env:
NODE_OPTIONS: --max_old_space_size=8192
run: |-
pnpm run docs:build
> src/.vuepress/dist/.nojekyll
- name: 部署文档
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down
Loading

0 comments on commit ab63f7c

Please sign in to comment.