👷 chore(deploy): fix unaccessible direct links

copy index.html to 404.html
This commit is contained in:
2024-02-27 11:44:17 +01:00
committed by GitHub
parent dc91c303ce
commit fbb2ad8a57
+3
View File
@@ -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