diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 43b92a79..5c919038 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -30,12 +30,9 @@ jobs: mkdocs-material- - run: pip install poetry - run: cd libs/infinity_emb && poetry install --extras "server" --with mkdocs - # - run: - # cd libs/infinity_emb && poetry install --extras "server" --with mkdocs && \ - # >> $GITHUB_ENV - # push under latest and version tag - run: cd libs/infinity_emb && poetry shell && \ - cd ../.. && \ - INFINITY_VERSION="$(python -c 'import infinity_emb; print(infinity_emb.__version__)')" - cd docs && mkdocs gh-deploy --force --push --update-aliases latest $INFINITY_VERSION \ No newline at end of file + echo "INFINITY_VERSION=$(python -c 'import infinity_emb; print(infinity_emb.__version__)')" >> $GITHUB_ENV + - run: + cd libs/infinity_emb && poetry shell && cd ../../docs && \ + mkdocs gh-deploy --force --push --update-aliases latest $INFINITY_VERSION \ No newline at end of file