Skip to content

Commit

Permalink
update docs main
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Mar 15, 2024
1 parent 678a441 commit 5c32f99
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches:
- main
- dev
permissions:
contents: write
jobs:
Expand Down Expand Up @@ -36,8 +35,15 @@ jobs:
- name: get version
run: |
echo "INFINITY_VERSION=$(python -c 'import infinity_emb; print(infinity_emb.__version__)')" >> $GITHUB_ENV
- name: Build and Deploy
- name: Build and Deploy Release
# only if the release is published
if: github.event_name == 'release' && github.event.action == 'published'
run: |
cd docs
# python -m mkdocs gh-deploy --force -m "updating to version $INFINITY_VERSION"
mike deploy --push --update-aliases latest $INFINITY_VERSION
mike deploy --push --update-aliases latest $INFINITY_VERSION
- name: Build and Deploy Dev/main
# only if dev/main branch is pushed
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
cd docs
mike deploy --push --update-aliases main
2 changes: 1 addition & 1 deletion libs/infinity_emb/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "infinity_emb"
version = "0.0.27"
version = "0.0.28"
description = "Infinity is a high-throughput, low-latency REST API for serving vector embeddings, supporting a wide range of sentence-transformer models and frameworks."
authors = ["michaelfeil <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 5c32f99

Please sign in to comment.