Skip to content

new build scripts

new build scripts #31

Workflow file for this run

# This workflow generates documentation for a project using Doxygen and sets it up for GitHub pages. It will push the
# documentation onto a special orphan branch to avoid cluttering the source code. This implementation comes from
# https://ntamonsec.blogspot.com/2020/06/github-actions-doxygen-documentation.html
name: Deploy Documentation
# Controls when the action will run.
on:
push:
workflow_dispatch:
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Add padding to project title text
run: |
echo '#projectalign {padding-right: 1em;}' >> docs/doxygen-awesome-css/doxygen-awesome.css
- name: Run Doxygen
uses: mattnotmitt/[email protected]
with:
# These are default values, but included for clarity
doxyfile-path: ./doxyGenConfig.cfg
working-directory: .
- name: Pages Deployment
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html/
enable_jekyll: false
allow_empty_commit: false
force_orphan: true
publish_branch: github-pages