Skip to content

Commit 31a4246

Browse files
authored
Merge pull request #61 from KNowledgeOnWebScale/EDC_active
added 404.html file after build step to handle gh-pages routing issue…
2 parents bdb2a82 + 5bc6994 commit 31a4246

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ permissions:
99
jobs:
1010
build-and-deploy:
1111
runs-on: ubuntu-latest
12-
12+
env:
13+
VITE_BASE_URL: /solid-cockpit/
1314
steps:
1415
- name: Checkout 🛎️
1516
uses: actions/checkout@v3
@@ -23,11 +24,11 @@ jobs:
2324
- name: Install and Build 🔧
2425
run: |
2526
yarn i
26-
yarn run build --base=/solid-cockpit/
27+
yarn run build
2728
2829
- name: Add 404 fallback
2930
run: cp dist/index.html dist/404.html
30-
31+
3132
- name: Deploy 🚀
3233
uses: JamesIves/github-pages-deploy-action@releases/v4
3334
with:

0 commit comments

Comments
 (0)