Skip to content

Commit dbcbe58

Browse files
committed
Add step to copy index.html to 404.html in deployment workflow
1 parent dbb4a68 commit dbcbe58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Build project
2525
run: yarn build
2626

27+
- name: Copy index.html to 404.html
28+
run: cp build/index.html build/404.html
29+
2730
- name: Deploy to GitHub Pages
2831
uses: peaceiris/actions-gh-pages@v4
2932
with:

0 commit comments

Comments
 (0)