Skip to content

Commit

Permalink
ci: Update gh-pages script (#117)
Browse files Browse the repository at this point in the history
* ci: deal with switcher changes
  • Loading branch information
dbhart authored Nov 18, 2024
1 parent b5fd91b commit 4954ded
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,19 @@ jobs:
for TAG in `git tag --list --sort=-version:refname`
do
python -m pip uninstall -y sansmic
rm -rf docs/_build/doxyxml docs/apidocs/*
rm -rf docs/_build/doxyxml docs/apidocs/* docs/_static/switcher.json
export SANSMIC_SPHINX_VERSION=$TAG
export VERSION_INFO=$TAG
mkdir docs/_build/doxyxml
git checkout $TAG
python build_docs.py
python -m pip install --no-deps -e .
sphinx-build -b html docs/ out/releases/$TAG
done
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
if: always()
with:
path: 'out/'

Expand Down

0 comments on commit 4954ded

Please sign in to comment.