Skip to content

Update docs

Update docs #223

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 #Setup Node
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci --legacy-peer-deps
- run: make build
- run: make examples
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./examples
deploy:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2