Skip to content

Commit 3002d01

Browse files
authored
Merge pull request #11 from Apple-Vision-Pro-UA-CS495/sprint3
Update GitHub Action Workflow
2 parents 166434f + 4bdaa05 commit 3002d01

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.env.production

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEXT_PUBLIC_BASE_PATH="/project-website"

.github/workflows/nextjs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
with:
5454
node-version: "20"
5555
cache: ${{ steps.detect-package-manager.outputs.manager }}
56+
- name: Create .env.production
57+
run: |
58+
echo "NEXT_PUBLIC_BASE_PATH=/project-website" >> .env.production
5659
- name: Setup Pages
5760
uses: actions/configure-pages@v5
5861
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ yarn-error.log*
3131
.pnpm-debug.log*
3232

3333
# env files (can opt-in for committing if needed)
34-
.env*
3534
.env.local
3635

3736

0 commit comments

Comments
 (0)