Skip to content

update reticula

update reticula #227

Workflow file for this run

name: documentation
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
architecture: 'x64'
- name: Latex Prerequisits
run: sudo apt-get update && sudo apt-get install -y latexmk texlive-latex-extra
- name: Python Prerequisits
run: pip install -r docs/requirements.txt
- name: Build
working-directory: docs/
run: make html latexpdf
- name: Copy PDF
working-directory: docs/
run: cp _build/latex/reticula.pdf _build/html/_static/reticula.pdf
- name: Upload
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4