update action #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen | ||
description: 'Deploy the HTML pages generated by doxygen to GitHub pages' | ||
on: | ||
push: | ||
branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ] | ||
pull_request: | ||
branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ] | ||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
jobs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Doxygen | ||
run: sudo apt-get install doxygen graphviz -y | ||
shell: bash | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Denable-doxygen-doc=ON | ||
- name: Generate doxygen | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target doc-html |