Skip to content

Commit

Permalink
ci: correct order of operations in gh-pages.build
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Nov 20, 2024
1 parent f2361e2 commit 0548ab1
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,18 +72,20 @@ jobs:
run: |
python -m pip install -e .[formats]
git config set versionsort.suffix -rc
export SANSMIC_SPHINX_VERSION=dev
python sansmic-ci/build_switcher.py
export SANSMIC_STABLE_VERSION=`cat stable.txt`
mkdir sansmic-ci/docs/$SANSMIC_STABLE_VERSION
touch sansmic-ci/docs/$SANSMIC_STABLE_VERSION/userman.rst
touch sansmic-ci/docs/$SANSMIC_STABLE_VERSION/refman.rst
cat sansmic-ci/docs/index.tpl | sed s/BUILD_SCRIPT_REPLACE/$SANSMIC_STABLE_VERSION/g > sansmic-ci/docs/index.rst
export SANSMIC_SPHINX_VERSION=root
sphinx-build -b html -d doctrees/root/ sansmic-ci/docs/ html/
mkdir docs/_build
mkdir docs/_build/doxyxml
mkdir html/
export SANSMIC_SPHINX_VERSION=dev
sphinx-build -b html -d doctrees/latest docs/ html/latest
for TAG in `git tag --list "v*.*.*" --sort=-version:refname`
do
Expand Down

0 comments on commit 0548ab1

Please sign in to comment.