Skip to content

update-doxygen

update-doxygen #18

Workflow file for this run

on: workflow_dispatch
permissions:
contents: write
jobs:
build-doxygen:
runs-on: ubuntu-latest
steps:
# - name: Run Doxygen Documentation Generation Container
# shell: bash
# run: >
# docker run --rm
# --workdir ${{ github.workspace }}
# --volume ${{ github.workspace }}:${{ github.workspace }}:rw
# ghcr.io/agarwalsaurav/doxygen-arch:latest
# ./
# ./Doxyfile
# ./docs
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
- name: Install Doxygen
run: sudo apt-get install doxygen graphviz -y
shell: bash
- name: Generate Doxygen Documentation
run: doxygen Doxyfile
shell: bash
- name: Create .nojekyll (ensures pages with underscores work on gh pages)
run: touch docs/.nojekyll
shell: bash
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
token: ${{ secrets.DOXYGEN_SECRET }}
branch: gh-pages
folder: ./docs
target-folder: docs
git-config-email: [email protected]
#steps:
#- name: Checkout
# uses: actions/checkout@v4
#- name: Action Doxygen and GitHub Pages
# id: ghaction
# uses: AgarwalSaurav/ghaction-doxygen-ghpages@release/v2
# with:
# github_token: ${{ secrets.DOXYGEN_SECRET }}
# working-directory: .
# doxyfile-path: ./Doxyfile
# html-output-folder: ./docs
# branch: gh-pages
# target_folder: docs
# git-config-email: [email protected]