-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- making commands dependent on one another. That way if one fails the…
… step fails.
- Loading branch information
1 parent
edc58c6
commit 5af797c
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
branches: [ main ] | ||
|
||
jobs: | ||
docs: | ||
sphinx_docs_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
|
@@ -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/ |