From 81d1b82e6b268f6d2e2bfc88be3be6f98dcf32d9 Mon Sep 17 00:00:00 2001 From: michaelfeil Date: Fri, 15 Mar 2024 00:04:22 -0700 Subject: [PATCH] update docs --- .github/workflows/docs.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a0a45f9a..042a45c9 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -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 \ No newline at end of file