From 1eb10e77190db69f8943e8cb20e4c38ef933cdd9 Mon Sep 17 00:00:00 2001 From: iOdiO89 <117376841+iOdiO89@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:23:56 +0900 Subject: [PATCH] chore: add 'upload artifact' step --- .github/workflows/nextjs.yml | 4 ++++ next.config.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 4229c72..4ddaa7c 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -75,6 +75,10 @@ jobs: run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next build + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./out # Deployment job deploy: diff --git a/next.config.js b/next.config.js index 7df6e95..13afb15 100644 --- a/next.config.js +++ b/next.config.js @@ -15,7 +15,6 @@ const nextConfig = { styledComponents: true, }, output: "export", - distDir: "dist", }; module.exports = nextConfig;