diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index aff10d2..9640f44 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -75,6 +75,8 @@ 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 + - run: mkdir -p ./out + if: success() && !steps.build.outputs.cache-hit - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: