File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,11 @@ jobs:
2727 - name : Checkout
2828 uses : actions/checkout@v3
2929 - name : Setup Node
30- uses : actions/setup-node@v3
30+ uses : actions/setup-node@v4
3131 with :
3232 node-version : " 20"
33- cache : ${{ steps.detect-package-manager.outputs.manager }}
3433 - name : Setup Pages
35- uses : actions/configure-pages@v2
36- with :
37- static_site_generator : next
34+ uses : actions/configure-pages@v4
3835 - name : Restore cache
3936 uses : actions/cache@v3
4037 with :
@@ -48,13 +45,11 @@ jobs:
4845 - name : Install dependencies
4946 run : npm install
5047 - name : Build with Next.js
51- run : |
52- npm run build
53- npm run export
48+ run : npm run build
5449 env :
5550 GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
5651 - name : Upload artifact
57- uses : actions/upload-pages-artifact@v3.0.1
52+ uses : actions/upload-pages-artifact@v3
5853 with :
5954 path : ./out
6055
6863 steps :
6964 - name : Deploy to GitHub Pages
7065 id : deployment
71- uses : actions/deploy-pages@v4.0.5
66+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11/** @type {import('next').NextConfig } */
22const nextConfig = {
33 output : "export" ,
4- images : {
5- unoptimized : true ,
6- } ,
74} ;
85
96module . exports = nextConfig ;
You can’t perform that action at this time.
0 commit comments