👷 chore(deploy): fix unaccessible direct links
copy index.html to 404.html
This commit is contained in:
@@ -39,6 +39,9 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
- name: Copy index.html to 404.html
|
||||||
|
# see https://stackoverflow.com/a/76148302
|
||||||
|
run: cp ./dist/index.html ./dist/404.html
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v3
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user