Skip to content

Commit

Permalink
Fix build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kieuminhcanh committed Dec 12, 2024
1 parent 71609f6 commit bafd1d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
node-version: '20'
# Pick your own package manager and build script
- run: npm install
- run: npm run dev:prepare
- run: npm run docs:build --preset github_pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"docs:build": "nuxi build docs",
"dev:vite": "cd vite && vite",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && vite build",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs",
"release": "npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint .",
"test": "vitest run",
Expand Down

0 comments on commit bafd1d6

Please sign in to comment.