Skip to content

Commit

Permalink
reenabled static export
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktschwab committed Jul 4, 2024
1 parent 7e01242 commit 5fd8827
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
run: pnpm build && pnpm export
run: pnpm build
- name: Deploy to netlify
uses: netlify/actions/cli@master
env:
Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const withNextra = require('nextra')({
})

module.exports = withNextra({
output: "export",
reactStrictMode: true,
images: {
unoptimized: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"clean": "shx rm -rf .next node_modules pnpm-lock.yaml",
"clean": "shx rm -rf .next node_modules pnpm-lock.yaml out",
"start": "next start",
"lint": "next lint",
"export": "next export",
Expand Down

0 comments on commit 5fd8827

Please sign in to comment.