Skip to content

Commit a074fa0

Browse files
committed
Fix: Add public folder to assets and improve GitHub Pages routing
1 parent 1aa7fb3 commit a074fa0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Add .nojekyll file
3232
run: touch www/.nojekyll
3333

34+
- name: Copy index.html to 404.html for GitHub Pages routing
35+
run: cp www/index.html www/404.html
36+
3437
- name: Deploy to GitHub Pages
3538
uses: peaceiris/actions-gh-pages@v3
3639
with:

angular.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
"glob": "**/*",
3434
"input": "src/assets",
3535
"output": "assets"
36+
},
37+
{
38+
"glob": "**/*",
39+
"input": "public",
40+
"output": "."
3641
}
3742
],
3843
"styles": ["src/global.scss", "src/theme/variables.scss"],

0 commit comments

Comments
 (0)