Skip to content

Fix apt-add-repository command in docs.yml #11

Fix apt-add-repository command in docs.yml

Fix apt-add-repository command in docs.yml #11

Workflow file for this run

name: Doxygen Docs
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Doxygen and Graphviz
run: sudo apt-add-repository universe && sudo apt-get update && sudo apt-get install doxygen graphviz -y
shell: bash
- name: Generate Doxygen Docs
run: doxygen docs/Doxyfile
shell: bash
- name: Create .nojekyll (ensures pages with underscores work on gh pages)
run: touch docs/html/.nojekyll
shell: bash
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/html
token: ${{ secrets.GITHUB_TOKEN }}