Skip to content

Commit

Permalink
deploy once
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Mar 15, 2024
1 parent efe61f9 commit 6495cfc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
# - run: pip install poetry
- run: pip install poetry
- run: cd libs/infinity_emb && poetry install --extras "server" --with mkdocs
# - run:
# cd libs/infinity_emb && poetry install --extras "server" && \
# echo "INFINITY_VERSION=$(poetry run python -c 'import infinity_emb; print(infinity_emb.__version__)')" >> $GITHUB_ENV
# cd libs/infinity_emb && poetry install --extras "server" --with mkdocs && \
# >> $GITHUB_ENV
# push under latest and version tag
- run: cd docs && mkdocs gh-deploy --force --push --update-aliases latest 0.0.27 # $INFINITY_VERSION
- run:
cd libs/infinity_emb && poetry shell && \
cd ../.. && \
INFINITY_VERSION=$(poetry run python -c 'import infinity_emb; print(infinity_emb.__version__)')"
cd docs && mkdocs gh-deploy --force --push --update-aliases latest 0.0.27 # $INFINITY_VERSION

0 comments on commit 6495cfc

Please sign in to comment.