Skip to content

Commit

Permalink
Updated export
Browse files Browse the repository at this point in the history
  • Loading branch information
jLynx committed Jan 1, 2024
1 parent 7da5208 commit ab130d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ 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
- name: Build with Next.js & Static HTML export
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Static HTML export with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/** @type {import('next').NextConfig} */
// const withOffline = require('next-offline')

const nextConfig = {}
const nextConfig = {
output: 'export',
}

// module.exports = withOffline(nextConfig)
module.exports = nextConfig

0 comments on commit ab130d7

Please sign in to comment.