2020-01-26 17:37:39 +00:00
|
|
|
name: Documentation
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
doc:
|
|
|
|
name: Deploy documentation
|
2020-10-17 01:36:22 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: Checkout the Git repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Install doxygen
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install doxygen doxygen-latex graphviz
|
|
|
|
|
|
|
|
- name: Generate documentaion
|
|
|
|
run: |
|
|
|
|
doxygen grrlib.doxygen >/dev/null
|
|
|
|
make --directory=latex >/dev/null
|
2020-12-14 05:54:00 +00:00
|
|
|
touch html/.nojekyll
|
|
|
|
mv latex/refman.pdf html/PDF-documentation.pdf
|
2020-01-26 17:37:39 +00:00
|
|
|
|
|
|
|
- name: Deploy to GitHub Pages
|
2021-05-26 12:37:04 +00:00
|
|
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
2020-10-17 01:36:22 +00:00
|
|
|
with:
|
2021-03-06 03:53:35 +00:00
|
|
|
branch: gh-pages
|
|
|
|
folder: html
|