Skip to content

Commit

Permalink
Posible fix to docs generation in github pages 23
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-cruz committed Apr 23, 2024
1 parent 520600e commit 198c5c2
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,35 @@ jobs:
name: coverage-report-${{matrix.python-version}}
path: htmlcov/

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# docs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8' # Use the Python version compatible with your project
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.8' # Use the Python version compatible with your project

- name: Install Nox
run: python -m pip install nox
# - name: Install Nox
# run: python -m pip install nox

- name: Run Nox to build docs
run: nox -s docs
# - name: Run Nox to build docs
# run: nox -s docs

- name: Upload documentation artifact
uses: actions/upload-artifact@v4
with:
name: site-artifact
path: ./docs/
# - name: Upload documentation artifact
# uses: actions/upload-artifact@v4
# with:
# name: site-artifact
# path: ./docs/
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install theme
run: python -m pip install sphinx_rtd_theme
- name: Build HTML
uses: ammaraskar/sphinx-action@master
- name: Upload artifacts
Expand Down

0 comments on commit 198c5c2

Please sign in to comment.