Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Dec 6, 2024
1 parent 92de5f4 commit 48b1578
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ jobs:
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Build and Export
run: |
npm run build
npm run export
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
6 changes: 2 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const nextConfig = {
module.exports = {
output: 'export',
images: {
unoptimized: true,
},
}
}

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

0 comments on commit 48b1578

Please sign in to comment.