Skip to content

Merge pull request #11 from Serial-IO/use-new-clang-format #8

Merge pull request #11 from Serial-IO/use-new-clang-format

Merge pull request #11 from Serial-IO/use-new-clang-format #8

Workflow file for this run

name: 'Generate & Deploy Doxygen Docs'
on:
push:
branches: [ main ]
paths:
- 'include/**'
- 'Doxyfile'
- '.github/workflows/doxygen.yml'
workflow_dispatch:
# Required for GitHub Pages deployment
permissions:
contents: write
pages: write
id-token: write
jobs:
build-docs:
runs-on: ubuntu-latest
name: 'Build Doxygen HTML'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Doxygen + Graphviz
run: |
sudo apt-get update -qq
sudo apt-get install -y doxygen graphviz
- name: Generate documentation
run: |
doxygen -v
doxygen Doxyfile
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/html
deploy:
needs: build-docs
runs-on: ubuntu-latest
name: 'Deploy to GitHub Pages'
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4