diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9bdd12..671e5c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: - name: Install dependencies 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: ${{ steps.detect-package-manager.outputs.manager }} run build - name: Static HTML export with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next export - name: Optimize all static images after the Next.js static export diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ce2a365..8b9ab2a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,7 +59,7 @@ jobs: - name: Install dependencies 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: ${{ steps.detect-package-manager.outputs.manager }} run build - name: Static HTML export with Next.js run: ${{ steps.detect-package-manager.outputs.runner }} next export - name: Optimize all static images after the Next.js static export