Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Improve docs GHA

Louis Choquel3920f8153bfe
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index bc7b5a958..0bb092641 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -1,4 +1,4 @@
-name: Deploy MkDocs with Versioning
+name: Deploy docs
on:
push:
@@ -40,15 +40,5 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- - name: Extract version from pyproject.toml
- id: version
- run: |
- VERSION=$(grep -m1 '^version = ' pyproject.toml | sed -E 's/version = "(.*)"/\1/')
- echo "version=$VERSION" >> $GITHUB_OUTPUT
- echo "Extracted version: $VERSION"
-
- name: Deploy documentation
- run: |
- . "$VIRTUAL_ENV/bin/activate"
- mike deploy --push --update-aliases ${{ steps.version.outputs.version }} latest
- mike set-default --push latest
+ run: make docs-deploy-stable