Skip to content

Bump the workflows group across 1 directory with 7 updates #436

Bump the workflows group across 1 directory with 7 updates

Bump the workflows group across 1 directory with 7 updates #436

Workflow file for this run

name: Sphinx
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sphinx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.x"
architecture: "x64"
cache: "pip"
- name: Build Documentation
run: |
pip install -e .[docs]
pip install -r docs/requirements.txt # redundant?
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
# Upload entire repository
path: 'build/html'
pages:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [sphinx]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5