Skip to content

Fix author name order (Federica Sarro) #2

Fix author name order (Federica Sarro)

Fix author name order (Federica Sarro) #2

Workflow file for this run

name: Docs (GitHub Pages)
on:
push:
branches: ["main"]
paths:
- "docs/**"
- ".github/workflows/docs-pages.yml"
- "requirements.txt"
- "docs/requirements.txt"
workflow_dispatch: {}
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r docs/requirements.txt
python -m pip install -r requirements.txt
- name: Build Sphinx HTML
run: |
make -C docs html
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html
deploy:
needs: build
runs-on: ubuntu-22.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4