Skip to content

documentation

documentation #6

Workflow file for this run

name: documentation
on:
schedule:
- cron: "0 5 * * 1,3,5" # At 5:00am on Monday, Wednesday, and Friday
push:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'poetry'
- run: poetry install
- name: Install Sphinx-Build
run: |
sudo apt install python3-sphinx
- name: Build Documentation
run: |
cd docs/
poetry run make html
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: docs/_build/html/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4