Skip to content

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 #364

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0 #364

Workflow file for this run

name: API documentation
on:
push:
jobs:
generate-documentation:
name: generate-doxygen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
sudo apt install doxygen graphviz
- name: prepare-build
run: mkdir build
- name: cmake-configuration
run: cmake -DCMAKE_BUILD_TYPE=Debug ..
working-directory: ./build
- name: build-documentation
run: cmake --build . --target api_doc
working-directory: ./build
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: build/doc/html # The folder the action should deploy.
target-folder: doc/