Skip to content

Commit ae223d2

Browse files
authored
Change build command to docs:build in preview workflow
1 parent 5002499 commit ae223d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- if: github.event.action != 'closed'
3737
run: |
3838
npm install
39-
npm run build -- --base /pr-preview/pr-${{ github.event.number }}/
39+
npm run docs:build -- --base /pr-preview/pr-${{ github.event.number }}/
4040
- name: Deploy preview
4141
uses: rossjrw/pr-preview-action@v1
4242
with:
43-
source-dir: .vitepress/dist/
43+
source-dir: .vitepress/dist/

0 commit comments

Comments
 (0)