Skip to content

Commit

Permalink
feat: add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
denghuiVFX committed Aug 18, 2024
1 parent 00cf4a4 commit 13c9c48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ const withNextra = require('nextra')('nextra-theme-blog', './theme.config.js')

const cfg = {
...withNextra(),
output: "export",
images: {
unoptimized: true,
}

}

module.exports = cfg
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"scripts": {
"dev": "next",
"build": "node ./scripts/gen-rss.js && next build && next export",
"build": "node ./scripts/gen-rss.js && next build",
"start": "next start"
},
"dependencies": {
Expand Down

0 comments on commit 13c9c48

Please sign in to comment.