Skip to content

Fix gh-pages workflow by installing Doxygen #44

Fix gh-pages workflow by installing Doxygen

Fix gh-pages workflow by installing Doxygen #44

Workflow file for this run

name: Doxygen GitHub Pages Deploy Action
on:
push:
branches:
- main
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prepare build environment
run: |
sudo apt-add-repository universe

Check failure on line 17 in .github/workflows/doxygen.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/doxygen.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
sudo apt update
sudo apt-get install doxygen ninja-build
- name: Configure project
run: cmake --preset=release
- name: Build documentation
run: cmake --build --preset=release --target docs
- name: GH Pages Deployment
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/docs/html/
enable_jekyll: false
allow_empty_commit: false
force_orphan: true
publish_branch: gh-pages