mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
346108b8a5
With Ubuntu 20.04, doxygen 1.8.17 is used. Before it was using 1.8.13.
36 lines
761 B
YAML
36 lines
761 B
YAML
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
|
|
|
|
- name: Generate documentaion
|
|
run: |
|
|
doxygen grrlib.doxygen >/dev/null
|
|
make --directory=latex >/dev/null
|
|
touch doc/.nojekyll
|
|
mv latex/refman.pdf doc/PDF-documentation.pdf
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@3.6.2
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: doc
|