Skip to content

Commit 2b41526

Browse files
committed
Fix static file serving and add 404 page
1 parent 775c624 commit 2b41526

82 files changed

Lines changed: 53 additions & 65 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
5252
# Ensure CNAME is present
5353
echo "katibestdesign.com" > priv/static/CNAME
54+
55+
# Create a 404.html for GitHub Pages
56+
echo '<!DOCTYPE html><html><head><meta charset="utf-8"><title>Page Not Found</title></head><body><h1>404 - Page Not Found</h1><p>The page you are looking for does not exist.</p></body></html>' > priv/static/404.html
5457
5558
- name: Deploy to GitHub Pages
5659
uses: peaceiris/actions-gh-pages@v3
41 Bytes
Binary file not shown.
4 Bytes
Binary file not shown.
60 Bytes
Binary file not shown.
61 Bytes
Binary file not shown.
60 Bytes
Binary file not shown.
59 Bytes
Binary file not shown.
44 Bytes
Binary file not shown.
50 Bytes
Binary file not shown.
55 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)