GRRLIB/.github/workflows/doc.yml

36 lines
715 B
YAML
Raw Normal View History

name: Documentation
on:
push:
branches:
- master
jobs:
doc:
name: Deploy documentation
runs-on: ubuntu-20.04
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
2021-07-18 16:39:02 +00:00
- name: Generate documentation
run: |
doxygen grrlib.doxygen >/dev/null
make --directory=latex >/dev/null
touch html/.nojekyll
mv latex/refman.pdf html/PDF-documentation.pdf
- name: Deploy to GitHub Pages
2022-01-05 07:25:08 +00:00
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
2021-03-06 03:53:35 +00:00
branch: gh-pages
folder: html