Skip to content

deploy fix

deploy fix #34

name: Node.js CI
permissions:
contents: write
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Build
run: |
npm ci --legacy-peer-deps
npm run build
mkdir -p out
touch out/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: out