-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: isolate dependencies for building documentation (#107)
Signed-off-by: Paul Horton <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
12 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 |
---|---|---|
|
@@ -21,21 +21,11 @@ jobs: | |
with: | ||
python-version: 3.9 | ||
architecture: 'x64' | ||
- name: Install poetry | ||
# see https://github.com/marketplace/actions/setup-poetry | ||
uses: Gr1N/setup-poetry@v7 | ||
with: | ||
poetry-version: 1.1.11 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | ||
- name: Install dependencies | ||
run: poetry install | ||
|
||
run: pip install -r doc/requirements.txt | ||
- name: Build documentation | ||
run: | | ||
poetry run pdoc --template-dir doc/templates --html cyclonedx | ||
pdoc --template-dir doc/templates --html cyclonedx | ||
- name: Deploy documentation | ||
uses: JamesIves/[email protected] | ||
with: | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
importlib-metadata==4.10.0 | ||
Mako==1.1.6 | ||
Markdown==3.3.6 | ||
MarkupSafe==2.0.1 | ||
pdoc3==0.10.0 | ||
zipp==3.6.0 | ||
packageurl-python>=0.9 | ||
toml>=0.10.0 |