From 2aad10b81a31d3e1d95dbcd29462871f68184525 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 8 Jul 2024 19:48:22 -0400 Subject: [PATCH 1/3] Update nextjs.yml --- .github/workflows/nextjs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index eb4d8a2..878df69 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -60,7 +60,7 @@ jobs: # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). # # You may remove this line if you want to manage the configuration yourself. - static_site_generator: next + - name: Restore cache uses: actions/cache@v4 with: From d8efd9008d21e28b64f8fbe54d1859fa731e7495 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 8 Jul 2024 19:50:19 -0400 Subject: [PATCH 2/3] Update nextjs.yml --- .github/workflows/nextjs.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 878df69..080dbed 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -55,12 +55,7 @@ jobs: cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v5 - with: - # Automatically inject basePath in your Next.js configuration file and disable - # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). - # - # You may remove this line if you want to manage the configuration yourself. - + # with: - name: Restore cache uses: actions/cache@v4 with: From 1a684bc25b65c63416217fafad2e2db5c33bf786 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 8 Jul 2024 19:52:11 -0400 Subject: [PATCH 3/3] Update nextjs.yml --- .github/workflows/nextjs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 080dbed..53e7879 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -73,7 +73,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./out + path: ./.next # Deployment job deploy: