There was an error while loading. Please reload this page.
1 parent 64bb871 commit 83b497dCopy full SHA for 83b497d
2 files changed
.github/workflows/deploy.yml
@@ -82,6 +82,9 @@ jobs:
82
- name: Build with Next.js
83
run: ${{ steps.detect-package-manager.outputs.runner }} next build
84
85
+ - name: Index with Pagefind
86
+ run: npx --no-install pagefind --site out --output-path out/_pagefind
87
+
88
- name: Upload artifact
89
uses: actions/upload-pages-artifact@v3
90
with:
package.json
@@ -8,7 +8,7 @@
8
"start": "next start",
9
"lint": "eslint",
10
"format": "prettier --write .",
11
- "postbuild": "pagefind --site .next/server/app --output-path out/_pagefind"
+ "postbuild": "pagefind --site out --output-path out/_pagefind"
12
},
13
"dependencies": {
14
"next": "^16.2.10",
0 commit comments