2024-02-04 19:05:12 +01:00
|
|
|
# This file is based on https://github.com/satu0king/Github-Documentation-With-Doxygen/blob/master/main.yml
|
|
|
|
|
|
|
|
name: Doxygen Action
|
|
|
|
|
|
|
|
# Trigger workflow only on pushed to master branch:
|
|
|
|
on:
|
2024-02-04 19:31:07 +01:00
|
|
|
workflow_dispatch:
|
2024-02-04 19:05:12 +01:00
|
|
|
push:
|
2024-02-04 19:33:43 +01:00
|
|
|
branches: [ main ]
|
2024-02-04 19:05:12 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
# The type of runner that the job will run on
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
|
|
steps:
|
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Doxygen Action
|
|
|
|
uses: mattnotmitt/doxygen-action@v1.1.0
|
|
|
|
with:
|
|
|
|
# Path to Doxyfile
|
2024-02-04 19:33:43 +01:00
|
|
|
doxyfile-path: "./Doxyfile"
|
2024-02-04 19:05:12 +01:00
|
|
|
# Working directory
|
|
|
|
working-directory: "./doc/doxy"
|
|
|
|
|
|
|
|
- name: Deploy
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
publish_dir: ./html
|