Skip to content

[FIXED]: Documentation #47

[FIXED]: Documentation

[FIXED]: Documentation #47

Workflow file for this run

name: Doxygen Action
on:
push:
tags:
- '*'
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Custom CSS File
run: curl -o doxygen-awesome.css https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome.css
- name: Download Dark Mode Toggle JavaScript
run: curl -o doxygen-awesome-darkmode-toggle.js https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome-darkmode-toggle.js
- name: Doxygen Action
uses: mattnotmitt/[email protected]
with:
doxyfile-path: "./Doxyfile"
working-directory: "."
- name: Upload Documentation as Artifact
uses: actions/upload-artifact@v4
with:
name: documentation
path: ./Docs/html
deploy:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
- name: Download Documentation Artifact
uses: actions/download-artifact@v4
with:
name: documentation
path: ./Docs/html
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_PAGES_TOKEN }}
publish_dir: ./Docs/html