Skip to content

Add Doxygen Github Action to generate docs #2

Add Doxygen Github Action to generate docs

Add Doxygen Github Action to generate docs #2

name: Publish Doxygen Documentation
on: [push, pull_request]
permissions:
contents: write
jobs:
build-doxygen-docs:
uses: ./.github/workflows/doxygen-build.yml
publish-docs:
runs-on: ubuntu-latest
needs: build-doxygen-docs
steps:
- name: Download doxygen documentation
uses: actions/download-artifact@v4
with:
name: doxygen_docs
path: ./doc/github_pages
- name: Unzip doxygen documentation
working-directory: ./doc/github_pages
run: |
unzip doxygen_docs.zip
rm doxygen_docs.zip
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/github_pages
keep_files: true