Skip to content

Commit

Permalink
Copy index file to the 404 file to fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Oct 10, 2024
1 parent a0561a3 commit 1efa8b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
echo "Building in repo [$REPO_NAME] with build number [$BUILDNUMBER] for [$NODE_ENV] environment."
npm run build
# copy the index file from the dist folder into the 404 file
cp dist/index.html dist/404.html
- name: Listfiles
run: |
cd dist
Expand Down

0 comments on commit 1efa8b8

Please sign in to comment.