Skip to content

Fix doc generation build dependencies #3

Fix doc generation build dependencies

Fix doc generation build dependencies #3

name: Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- uses: seanmiddleditch/gha-setup-ninja@master
- run: cd configure && npm ci
- run: npm run configure
- run: ninja
- run: ninja -k 0 prep-for-docs
- run: npm run docs
- uses: actions/upload-pages-artifact@v3
with:
path: "./docs"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4