Skip to content

Publish Documentation #4

Publish Documentation

Publish Documentation #4

name: Publish Documentation
on:
release:
types: [published]
workflow_dispatch: # Allows manual triggers from GitHub UI
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate Documentation
uses: mattnotmitt/doxygen-action@edge
with:
working-directory: './docs'
doxyfile-path: './doxygen-configFile'
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
force_orphan: true # keeps gh-pages branch clean
commit_message: "docs: update doxygen documentation"