Skip to content

Commit

Permalink
docs: build doc site
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfenghen committed Dec 9, 2023
1 parent 1a737e5 commit da08f73
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ concurrency:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./doc-site
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -35,11 +32,19 @@ jobs:
with:
node-version: 16 # 或者您需要的 Node.js 版本

- name: Install dependencies
- name: Install packages dependencies
run: yarn install --frozen-lockfile

- name: Build:api
run: yarn build:api

- name: Install doc-site dependencies
run: yarn install --frozen-lockfile
working-directory: ./doc-site

- name: Build
- name: Build doc-site
run: yarn build
working-directory: ./doc-site

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down

0 comments on commit da08f73

Please sign in to comment.