-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3fd119
commit d2a5b7f
Showing
1 changed file
with
10 additions
and
13 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 |
---|---|---|
|
@@ -22,8 +22,6 @@ jobs: | |
with: | ||
python-version: 3.9 | ||
|
||
# - uses: abatilo/[email protected] | ||
|
||
# install & configure poetry | ||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 # v1.2.0 | ||
|
@@ -34,20 +32,19 @@ jobs: | |
installer-parallel: true | ||
|
||
- name: install | ||
run: poetry install --with docs | ||
run: poetry install --only docs | ||
|
||
- name: Build documentation | ||
run: | | ||
mkdir gh-pages | ||
touch gh-pages/.nojekyll | ||
cd docs/ | ||
poetry run make clean | ||
poetry run make html | ||
# poetry run sphinx-build -b html . _build | ||
# cp -r _build/* ../gh-pages/ | ||
# - name: Deploy documentation | ||
# if: ${{ github.event_name == 'push' }} | ||
# uses: JamesIves/[email protected] | ||
# with: | ||
# branch: gh-pages | ||
# folder: gh-pages | ||
poetry run make clean && poetry run make html | ||
cp -r build/* ../gh-pages/ | ||
- name: Deploy documentation | ||
if: ${{ github.event_name == 'push' }} | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: gh-pages |