Skip to content

Commit

Permalink
Merge pull request #1 from jacobfilik/set_basename
Browse files Browse the repository at this point in the history
use env var for basename
  • Loading branch information
jacobfilik authored Nov 29, 2024
2 parents 7db486a + 8e9c052 commit bd2211d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Node.js CI

env:
REPO_NAME: ${{ github.event.repository.name }}

on:
push:
branches: ["main"]
Expand All @@ -25,7 +28,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm run build --base=/conexssandbox/
run: pnpm run build --base=/${{ env.REPO_NAME }}/
- name: Uploading production-ready build files
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit bd2211d

Please sign in to comment.