Skip to content

Commit 83b497d

Browse files
committed
fix: searchbar for docs
1 parent 64bb871 commit 83b497d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
- name: Build with Next.js
8383
run: ${{ steps.detect-package-manager.outputs.runner }} next build
8484

85+
- name: Index with Pagefind
86+
run: npx --no-install pagefind --site out --output-path out/_pagefind
87+
8588
- name: Upload artifact
8689
uses: actions/upload-pages-artifact@v3
8790
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "next start",
99
"lint": "eslint",
1010
"format": "prettier --write .",
11-
"postbuild": "pagefind --site .next/server/app --output-path out/_pagefind"
11+
"postbuild": "pagefind --site out --output-path out/_pagefind"
1212
},
1313
"dependencies": {
1414
"next": "^16.2.10",

0 commit comments

Comments
 (0)