ci: also trigger on master branch #149
This file contains hidden or 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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Documentation | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Install doxygen | |
run: | | |
sudo apt-get remove -y --purge man-db # avoid time-consuming trigger | |
sudo apt-get update | |
sudo apt-get install -y doxygen graphviz | |
- name: Generate doxygen | |
run: doxygen | |
working-directory: "${{ github.workspace }}/doc" | |
- name: Deploy documentation | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
force_orphan: true | |
publish_dir: ./doc/html |