Skip to content

Commit

Permalink
add github action for doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlivio committed Jul 6, 2023
1 parent 3a0fd26 commit 202ad00
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "lib/*"
- "doc/*"
- "src/*"

permissions:
contents: write

jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: ssciwr/doxygen-install@v1
- uses: symbitic/install-cmake@master
- run: mkdir _build
- run: cd _build
- run: cmake ..
- run: cmake --build . --target doc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html # Build output to publish to the `gh-pages` branch

0 comments on commit 202ad00

Please sign in to comment.