Skip to content

Commit

Permalink
next export is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Jan 25, 2025
1 parent a03a9f4 commit 4e51d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Disable Telemetry program
run: ${{ steps.detect-package-manager.outputs.runner }} next telemetry disable
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next export
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ const nextConfig: NextConfig = {
return config;
}
};
nextConfig.output = 'export';

export default nextConfig;

0 comments on commit 4e51d90

Please sign in to comment.