Skip to content

Commit

Permalink
[fix] Deployment with base path env (#8)
Browse files Browse the repository at this point in the history
* Fix github action

* Run test deployment

* Run deployment on main
  • Loading branch information
adityapawar1 authored Jan 17, 2025
1 parent a7fc412 commit e897c6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ concurrency:
group: "pages"
cancel-in-progress: false

env:
BASE_PATH: ${{ github.repository }}

jobs:
# Build job
build:
Expand Down Expand Up @@ -75,7 +78,6 @@ 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
env: BASE_PATH: ${{ github.repository }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit e897c6a

Please sign in to comment.