Skip to content

feat: add not-found view #17

feat: add not-found view

feat: add not-found view #17

Workflow file for this run

name: Website
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Generations of Components
run: pnpm run build:comp
- name: Generations of Less
run: pnpm run build:less
- name: Build docs
run: |
pnpm run build:demo
cp ./demo/dist/index.html ./demo/dist/404.html
- name: Deploy site
uses: JamesIves/github-pages-deploy-action@v4
with:
clean: true
branch: gh-pages
folder: ./demo/dist
token: ${{secrets.GIT_TOKEN}}