Fix 404 erro on github pages

This commit is contained in:
2025-10-20 18:01:05 +03:30
parent 85907580fe
commit 1efac711a9

View File

@@ -32,6 +32,9 @@ jobs:
- name: Build project
run: DEPLOY_ENV=GH_PAGES pnpm build
- name: Copy index.html to 404.html
run: cp dist/index.html dist/404.html
- name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4