File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push:
55 branches:
66 - main
7- paths :
8- - ' docs/**'
9- - ' packages/react-tools-lib/src/**'
10-
117 workflow_dispatch:
128
139permissions :
@@ -39,24 +35,21 @@ jobs:
3935 node-version: 20
4036 cache: pnpm
4137
42- - name : Install dependencies
43- run : pnpm install --frozen-lockfile
38+ - name: Setup Pages
39+ uses: actions/configure-pages@v4
4440
45- - name : Build library
46- run : pnpm --filter @ndriadev/react-tools build
41+ - name: Install dependencies
42+ run: pnpm install --frozen-lockfile
4743
48- - name : Build documentation
49- run : pnpm run build: docs
50- env :
44+ - name: Build with documentation
45+ run: pnpm docs:build
46+ env:
5147 NODE_ENV: production
5248
53- - name : Setup Pages
54- uses : actions/configure-pages@v4
55-
5649 - name: Upload artifact
5750 uses: actions/upload-pages-artifact@v3
5851 with:
59- path : dist- docs
52+ path: docs/.vitepress/dist
6053
6154 deploy:
6255 environment:
You can’t perform that action at this time.
0 commit comments