Skip to content

Commit

Permalink
build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Jul 7, 2024
1 parent a208859 commit aa7cb4e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish Documentation on Release

on:
release:
types: [created]

jobs:
deploy-docs:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '15'

- name: Install Doxygen
run: sudo apt-get install doxygen

- name: Generate Doxygen Documentation
run: doxygen Doxyfile

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
1 change: 1 addition & 0 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -2689,3 +2689,4 @@ GENERATE_LEGEND = YES
# The default value is: YES.

DOT_CLEANUP = YES
GENERATE_HTML = YES

0 comments on commit aa7cb4e

Please sign in to comment.