obus/.github/workflows/moduledocs.yml
2021-07-31 03:58:18 +02:00

20 lines
603 B
YAML

name: Module documentation
on: [push, pull_request]
jobs:
moduledocs:
runs-on: ubuntu-latest
steps:
- name: Install pandoc and python3 (and texlive)
run: sudo apt-get install pandoc python3 texlive-full
- name: Check out repository code
uses: actions/checkout@v2
- name: Compile documentation
run: |
cd ${{ github.workspace }}/docs
python3 build.py
- name: Archive documentation as artifact
uses: actions/upload-artifact@v2
with:
name: moduledocs
path: ${{github.workspace}}/docs/docs.pdf