From a4c37e8ec237004eb0fed61ef151a76432cd09cd Mon Sep 17 00:00:00 2001 From: Lauri Peltonen <20242241+microbecode@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:39:02 +0000 Subject: [PATCH] moar --- .github/workflows/nextjs.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index b93450e..6bb2a0b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -79,17 +79,14 @@ jobs: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - name: Install dependencies run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - working-directory: ./frontend - name: Build with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} next build - working-directory: ./frontend + run: ./frontend/${{ steps.detect-package-manager.outputs.runner }} next build - name: Static HTML export with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next export - working-directory: ./frontend - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: ./out + path: ./frontend/out # Deployment job deploy: