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;