Skip to content

Updating docs

Updating docs #35

Workflow file for this run

name: Create docs
run-name: Updating docs
on: [push]
permissions:
contents: write
jobs:
report:
name: Create documentation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: 'code'
- name: Checkout docs
uses: actions/checkout@v3
with:
ref: 'gh-pages'
path: 'docs'
- name: Get doxygen
run: sudo apt update && sudo apt install doxygen graphviz
- name: Run doxygen
run: cd /home/runner/work/SupermilageDisplay/SupermilageDisplay/code && doxygen
- name: Push commit
run: |
cd /home/runner/work/SupermilageDisplay/SupermilageDisplay/docs
git config --global user.name 'Doc Worker'
git config --global user.email '[email protected]'
git stage .
git commit -m "Automated doc generation" && git push || true