Skip to content

Commit

Permalink
fix docs publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Oct 2, 2023
1 parent b70d41e commit 2aa711b
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- stable
- dev
- fix-docs-publishing
pull_request:

concurrency:
Expand Down Expand Up @@ -93,8 +94,11 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material mkdocs-extra-sass-plugin livereload
- run: mkdocs gh-deploy --force
- name: Install dependencies
run: |
pip install poetry
poetry install --only=docs
- run: poetry run mkdocs gh-deploy --force
publish_code:
needs: update_docs
runs-on: ubuntu-latest
Expand Down
37 changes: 36 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ mkdocs-material = "^9.2.5"
mkdocs-material-extensions = "^1.1.1"
mkdocstrings = "^0.22.0"
mkdocstrings-python = "^1.6.0"
livereload = "^2.6.3"

[tool.pytest.ini_options]
env = [
Expand Down

0 comments on commit 2aa711b

Please sign in to comment.