Skip to content

Commit

Permalink
Build sitemap before next build command
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Jul 3, 2023
1 parent 52583e5 commit 9cfe633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"imagesize": "node ./scripts/markdown-image-size.js",
"dev": "cross-env NODE_OPTIONS='--inspect' next",
"build": "next build",
"postbuild": "node ./scripts/generate-sitemap.js && cp -R ./content/old-releases/desktop/ ./public/desktop-changelogs-markdown && cp -R -T ./content/releases/ ./public/desktop-changelogs-markdown/ && sed -i 's./images/sponsors/./images/sponsors/light/.g' ./public/desktop-changelogs-markdown/*",
"prebuild": "node ./scripts/generate-sitemap.js && cp -R ./content/old-releases/desktop/ ./public/desktop-changelogs-markdown && cp -R -T ./content/releases/ ./public/desktop-changelogs-markdown/ && sed -i 's./images/sponsors/./images/sponsors/light/.g' ./public/desktop-changelogs-markdown/*",
"start": "next start",
"deploy": "npm run build && firebase deploy --token \"$FIREBASE_TOKEN\" --only hosting"
},
Expand Down

0 comments on commit 9cfe633

Please sign in to comment.