Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Commit 2bb3b79

Browse files
committed
build: use the PUBLIC_URL variable
1 parent 9f382ec commit 2bb3b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2727
- name: Build
2828
run: npm run-script build
29+
env:
30+
PUBLIC_URL: 'https://js-widgets.github.io/example-widget'
2931
- name: Deploy to GitHub Pages
3032
if: ${{ success() }}
3133
uses: crazy-max/ghaction-github-pages@v2

0 commit comments

Comments
 (0)