Skip to content

Commit

Permalink
- making commands dependent on one another. That way if one fails the…
Browse files Browse the repository at this point in the history
… step fails.
  • Loading branch information
carlkidcrypto committed Nov 30, 2023
1 parent edc58c6 commit 5af797c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/sphinx_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [ main ]

jobs:
docs:
sphinx_docs_build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand All @@ -19,19 +19,19 @@ jobs:
with:
python-version: "3.10"

- name: Install python3 requirements...
- name: Install python3 requirements and run sphinx...
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 ;
python3 -m pip install -r sphinx_docs_build/requirements.txt ;
python setup.py install --user ;
cd sphinx_docs_build ;
make html ;
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 &&
python -m pip install -r sphinx_docs_build/requirements.txt &&
python setup.py install --user &&
cd sphinx_docs_build &&
make html

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

0 comments on commit 5af797c

Please sign in to comment.