Skip to content

.github/workflows/gh-pages.yml #5

.github/workflows/gh-pages.yml

.github/workflows/gh-pages.yml #5

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
steps:
- uses: actions/checkout@v3
- uses: ssciwr/doxygen-install@v1
- uses: symbitic/install-cmake@master
- run: cd doc
- run: cmake .
- 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