Skip to content

Commit

Permalink
ci: force installation of old packages for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart authored Nov 18, 2024
1 parent 9319e04 commit 98d57cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ jobs:
export VERSION_INFO=$TAG
mkdir docs/_build/doxyxml
git checkout -f $TAG
python -m pip install --no-deps -e .
if [ -f "docs/requirements.txt" ]; then
python -m pip install --force-reinstall -r docs/requirements.txt
fi
python -m pip install -e .[docs]
sphinx-build -Q -b html docs/ out/$TAG
done
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
if: always()
if: success() || failure()
with:
path: 'out/'

Expand Down
2 changes: 1 addition & 1 deletion build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
versions = [
{
"name": "main",
"version": "",
"version": "main",
"url": "https://sandialabs.github.io/sansmic/",
"preferred": False,
}
Expand Down

0 comments on commit 98d57cc

Please sign in to comment.