From 5a06d00758ff834b9f2c3b630ddc7846e0fd44cc Mon Sep 17 00:00:00 2001 From: Dev_WaiYan Date: Mon, 23 Sep 2024 02:15:08 +0630 Subject: [PATCH] Update nextjs.yml --- .github/workflows/nextjs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index d92219c..c878540 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -5,7 +5,7 @@ name: Deploy Next.js site to Pages env: - NEXT_PUBLIC_API_URL: 'archivo-devspace-blogs' + NEXT_PUBLIC_BASE_PATH: 'archivo-devspace-blogs' on: # Runs on pushes targeting the default branch @@ -78,7 +78,7 @@ jobs: run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js env: - NEXT_PUBLIC_API_URL: 'archivo-devspace-blogs' + NEXT_PUBLIC_BASE_PATH: 'archivo-devspace-blogs' run: ${{ steps.detect-package-manager.outputs.runner }} next build - name: Upload artifact uses: actions/upload-pages-artifact@v3