Skip to content

Commit

Permalink
! fixed yarn export failed issue and use next.config.js config instea…
Browse files Browse the repository at this point in the history
…d of it
  • Loading branch information
lispking committed Nov 23, 2023
1 parent 65d1b72 commit af3b4b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn export

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
output: 'export'
}

module.exports = nextConfig
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "next export"
"lint": "next lint"
},
"dependencies": {
"next": "14.0.3",
Expand Down

0 comments on commit af3b4b2

Please sign in to comment.