diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index 63e8a78e1..e26cadb2b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -76,7 +76,9 @@ jobs: run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js working-directory: ./src - run: yarn run export + run: | + yarn run export + ls ./src/out - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/src/package.json b/src/package.json index 20f79ee59..6e9e8f866 100644 --- a/src/package.json +++ b/src/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "export": "next build && next export && next-image-export-optimizer" + "export": "next build && next-image-export-optimizer" }, "dependencies": { "@emotion/react": "^11.11.1",