Skip to content

Commit 656d9ac

Browse files
committed
docs: check 404 workaround
1 parent 7e1f2a0 commit 656d9ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy-demo-page.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: deploy demo-app to github pages
33
on:
44
push:
55
branches:
6-
- main
6+
- github-page-publish
77

88
workflow_dispatch:
99

@@ -33,6 +33,9 @@ jobs:
3333
- name: Move license to artifact folder
3434
run: mv dist/demo-app/3rdpartylicenses.txt dist/demo-app/browser
3535

36+
- name: Hacky workaround to SPAs not being supported by github docs
37+
run: cp dist/demo-app/browser/index.html dist/demo-app/browser/404.html
38+
3639
- name: Upload artifacts
3740
uses: actions/upload-pages-artifact@v4
3841
with:

0 commit comments

Comments
 (0)