Skip to content

Commit

Permalink
Add docs build to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dbatten5 committed Jan 12, 2024
1 parent 7c0c35c commit 28e6f2f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
# - { python: "3.11", os: macos-latest, session: "tests" }
- { python: "3.11", os: ubuntu-latest, session: "typeguard" }
- { python: "3.11", os: ubuntu-latest, session: "xdoctest" }
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }

env:
NOXSESSION: ${{ matrix.session }}
Expand Down Expand Up @@ -107,6 +108,13 @@ jobs:
name: coverage-data
path: ".coverage.*"

- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/_build

coverage:
runs-on: ubuntu-latest
needs: tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if config.get_option("enable_useful_option"):

## Help

See the [documentation](https://dbatten5.github.io/maison) for more details.
See the [documentation](https://maison.readthedocs.io) for more details.

## Licence

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
readme = "README.md"
homepage = "https://github.com/dbatten5/maison"
repository = "https://github.com/dbatten5/maison"
documentation = "https://dbatten5.github.io/maison"
documentation = "https://maison.readthedocs.io"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit 28e6f2f

Please sign in to comment.