We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380128c commit 16b34d1Copy full SHA for 16b34d1
.github/workflows/deploy.yaml
@@ -23,9 +23,6 @@ jobs:
23
- name: Build
24
run: npm run build
25
26
- - name: Generate sitemap and robots.txt (postbuild)
27
- run: npm run postbuild
28
-
29
- name: Deploy to server
30
uses: appleboy/scp-action@master
31
with:
package.json
@@ -12,12 +12,9 @@
12
"dev": "next",
13
"build": "next build",
14
"start": "next start",
15
- "postbuild": "pagefind --site .next/server/app --output-path public/_pagefind"
+ "postbuild": "next-sitemap && pagefind --site .next/server/app --output-path public/_pagefind"
16
},
17
"devDependencies": {
18
"pagefind": "^1.3.0"
19
- },
20
- "scripts": {
21
- "postbuild": "next-sitemap"
22
}
0 commit comments