From 616f90b72bdfe68bb668e208b36e35326473f257 Mon Sep 17 00:00:00 2001 From: Jaideep <67646710+jdchawla29@users.noreply.github.com> Date: Fri, 14 Aug 2026 12:45:50 -0700 Subject: [PATCH] ci(release): point the docs branch at every published release --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8195b99c..a1a8cdbc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,8 @@ jobs: if: ${{ github.event_name == 'release' }} runs-on: ubuntu-latest environment: pypi + permissions: + contents: write steps: - uses: actions/checkout@v4 @@ -23,3 +25,8 @@ jobs: run: | uv build uv publish + + # docs.hud.ai builds the SDK tab from the docs branch. + - name: Point docs at this release + run: | + git push --force origin "${GITHUB_SHA}:refs/heads/docs"