Skip to content

Allow archiving when using 'Update-Current-Version' #5501

Allow archiving when using 'Update-Current-Version'

Allow archiving when using 'Update-Current-Version' #5501

name: "Guides Build Status"
on:
pull_request:
paths:
- "doc/sphinx-guides/**/*.rst"
- "doc/sphinx-guides/**/requirements.txt"
- "doc/sphinx-guides/**/conf.py"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- id: lookup
run: |
echo "sphinx_version=$(grep Sphinx== ./doc/sphinx-guides/requirements.txt | tr -s "=" | cut -f 2 -d=)" | tee -a "${GITHUB_OUTPUT}"
- run: |
sudo apt-get update -q
sudo apt-get install -qqy --no-install-recommends graphviz
- uses: sphinx-notes/pages@v3
with:
documentation_path: ./doc/sphinx-guides/source
requirements_path: ./doc/sphinx-guides/requirements.txt
sphinx_version: ${{ steps.lookup.outputs.sphinx_version }}
sphinx_build_options: "-W"
cache: false
publish: false