File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5353 with :
5454 node-version : " 20"
5555 cache : ${{ steps.detect-package-manager.outputs.manager }}
56+ - name : Install dependencies
57+ run : npm install
58+
59+ - name : Build Next.js
60+ run : npm run build && npm run export
61+
62+ - name : Upload artifact
63+ uses : actions/upload-pages-artifact@v3
64+ with :
65+ path : ./out
5666 - name : Setup Pages
5767 uses : actions/configure-pages@v5
5868 with :
Original file line number Diff line number Diff line change 11import { withSentryConfig } from "@sentry/nextjs" ;
22/** @type {import('next').NextConfig } */
3- const nextConfig = { } ;
3+ const nextConfig = { output : "export" ,
4+ basePath : "/Nextjs-Portfoio" , // Replace with your repository name
5+ assetPrefix : "/Nextjs-Portfoio" , } ;
46
57export default withSentryConfig (
68 nextConfig ,
You canβt perform that action at this time.
0 commit comments