Skip to content

add doc/CMakeList.txt and CMakeList.defs.txt #6

add doc/CMakeList.txt and CMakeList.defs.txt

add doc/CMakeList.txt and CMakeList.defs.txt #6

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- master
paths:
- "lib/*"
- "doc/*"
- "src/*"
permissions:
contents: write
jobs:
gh-pages:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./doc
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get install -y cmake make doxygen graphviz
- name: cmake
run: cmake .
- name: build docs
run: cmake --build .
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: html # Build output to publish to the `gh-pages` branch