Skip to content

Commit

Permalink
ci: Fix doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Aug 30, 2024
1 parent 3ad4f75 commit 3ee910f
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 49 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_and_publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,18 @@ jobs:
with:
python-version: 3.9

- name: setup poetry
run: |
python -m pip install --upgrade pip poetry
- name: install dependencies
run: poetry install

- name: build documentation
run: make build_docs
run: poetry run make -C docs html

- name: remove jekyll theming
run: touch docs/_build/.nojekyll
run: touch docs/_build/html/.nojekyll

- name: deploy website
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
137 changes: 92 additions & 45 deletions backend/poetry.lock

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

4 changes: 2 additions & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ pytest-mock = "^3.14.0"
httpx = "^0.27.0"
httpx-ws = "^0.6.0"
pylint = "^3.2.3"
sphinx = { version = "*", python = "^3.10"}
sphinx-rtd-theme = { version = "*", python = "^3.10"}
sphinx = "*"
sphinx-rtd-theme = "*"

[tool.poetry.scripts]
"chatsky.ui" = "chatsky_ui.cli:cli"
Expand Down

0 comments on commit 3ee910f

Please sign in to comment.