Skip to content

build(deps-dev): bump @types/react from 18.3.11 to 18.3.12 in /docs (… #202

build(deps-dev): bump @types/react from 18.3.11 to 18.3.12 in /docs (…

build(deps-dev): bump @types/react from 18.3.11 to 18.3.12 in /docs (… #202

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Graaf repository
uses: actions/checkout@v4
# Node is required for npm
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Build Docusaurus website
run: |
cd docs
npm install
npm run build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}