Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-WaiYan authored Sep 22, 2024
1 parent 3a479a9 commit 5a06d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5a06d00

Please sign in to comment.