Skip to content

Commit

Permalink
github action added to build sphinx-based doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnavarrol committed Sep 23, 2023
1 parent aa8938d commit e01c782
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permissions:
jobs:
sphinx_doc:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/publish-sphinx-tmp' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/publish-sphinx' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand All @@ -15,13 +15,9 @@ jobs:
export BME_PROJECT_DIR="${GITHUB_WORKSPACE}"
echo "Python version: "`python --version`
echo "pip version: "`pip --version`
python3 -m venv env
source ./env/bin/activate
python3 -m venv env && source ./env/bin/activate
pip install Sphinx==5.3.0 sphinxcontrib-programoutput==0.17 sphinx-rtd-theme==1.1.0 \
-e "${BME_PROJECT_DIR}/src"
#pip install Sphinx==5.3.0 sphinxcontrib-programoutput==0.17 sphinx-rtd-theme==1.1.0 \
# GitPython==3.1.24 Cerberus==1.3.4 \
# -e "${BME_PROJECT_DIR}/src"
- name: Sphinx build
run: |
source ./env/bin/activate
Expand Down

0 comments on commit e01c782

Please sign in to comment.