Skip to content

ci: fix 404

ci: fix 404 #2

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
npm install
npm run build
- name: Duplicate index.html
run: cp dist/index.html dist/404.html
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist