Skip to content

Commit 5acf228

Browse files
authored
configurable github pages base path (#9)
1 parent db5f5ee commit 5acf228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- run: npm run check
3131
- name: build
3232
env:
33-
BASE_PATH: "/${{ github.event.repository.name }}"
33+
BASE_PATH: "${{ vars.GH_PAGES_BASE_PATH || format('/{0}', github.event.repository.name) }}"
3434
run: |
3535
npm run build
3636

0 commit comments

Comments
 (0)