Skip to content

Improved documentation and fixed GitHub Pages CI #15

Improved documentation and fixed GitHub Pages CI

Improved documentation and fixed GitHub Pages CI #15

Workflow file for this run

name: Deploy GitHub pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: doc
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build site
run: npm run build
- name: Move CNAME file
run: mv ../CNAME ./doc/build/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build