Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Mar 15, 2024
1 parent cac17bb commit 81d1b82
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
- run: |
- name: Install infinity_emb with mkdocs
run: |
pip install poetry
poetry config virtualenvs.create false
cd libs/infinity_emb && poetry install --extras "server" --with mkdocs
cd libs/infinity_emb && POETRY_VIRTUALENVS_CREATE=false POETRY_VIRTUALENVS_IN_PROJECT=false poetry install --extras "server" --with mkdocs
- name: get version
run: |
echo "INFINITY_VERSION=$(python -c 'import infinity_emb; print(infinity_emb.__version__)')" >> $GITHUB_ENV
- run: |
- name: Build and Deploy
run: |
cd docs && \
python -m mkdocs gh-deploy --force --push --update-aliases latest $INFINITY_VERSION

0 comments on commit 81d1b82

Please sign in to comment.