Skip to content

Commit

Permalink
- one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkidcrypto committed Nov 30, 2023
1 parent a36c0e9 commit b0099ed
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,27 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "sphinx_docs_build/"
build-command: "pip --disable-pip-version-check list --outdated --format=json | \
python3 -c 'import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))' | \
xargs -n1 pip install -U; make html"
- name: Check out repository code
uses: actions/checkout@v4

- uses: actions/upload-artifact@v3
with:
name: DocumentationHTML
path: docs/
- name: Set up Python 3.10 env for sphinx...
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install python3 requirements...
uses: knicknic/[email protected]
with:
linux: cd /home/runner/work/purpleair_data_logger/purpleair_data_logger/ ;
python -m pip install --upgrade wheel ;
python -m pip install --upgrade setuptools ;
python -m pip install --upgrade pip ;
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "sphinx_docs_build/"
build-command: "make html"

- uses: actions/upload-artifact@v3
with:
name: DocumentationHTML
path: docs/

0 comments on commit b0099ed

Please sign in to comment.