Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Mar 15, 2024
1 parent 8018b1e commit c942572
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit c942572

Please sign in to comment.