From a1e0b928c73cde96ba7b615147d8f393a506869e Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Wed, 22 Apr 2026 15:43:19 +0300 Subject: [PATCH] Remove obsolete Vercel deploy hook for docs-website The `update-docs-website` job in releaser.yml was a legacy of the pre-Renovate docs pipeline. Back then the docs-website pulled the Registry Server Swagger via jsdelivr (a remote reference), so every release needed Vercel to rebuild docs-website to pick up the new spec. This job triggered that rebuild. That path is retired. docs-website now pins the Swagger as a static file synced by `sync-assets.mjs` inside a Renovate-opened version- bump PR. Vercel auto-redeploys on push to the docs-website `main` branch when that PR merges. The hook currently fires after every release against docs-website `main` at a state where nothing has changed -- pure no-op that consumes runner minutes and creates a redundant deploy in Vercel. Noticed on the v1.3.0 release run: https://github.com/stacklok/toolhive-registry-server/actions/runs/24778037006/job/72503570856 The other three upstreams (`toolhive`, `toolhive-studio`, `toolhive-cloud-ui`) don't have an equivalent job -- `toolhive` was already cleaned up via stacklok/toolhive#4982 when the unified docs pipeline shipped. The `DOCS_VERCEL_DEPLOY_HOOK` repo secret can also be deleted once this merges, but left as a separate cleanup since I don't have secrets access. --- .github/workflows/releaser.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 6eae21de..241652b7 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -183,16 +183,6 @@ jobs: id-token: write uses: ./.github/workflows/image-build-and-publish.yml - update-docs-website: - name: Trigger Docs Website Rebuild - needs: [ release-binaries ] - runs-on: ubuntu-latest - steps: - - name: Trigger Vercel Deploy Hook - run: | - echo "Triggering docs website rebuild to refresh the API spec..." - curl -f -X POST "${{ secrets.DOCS_VERCEL_DEPLOY_HOOK }}" || exit 1 - publish-helm: name: Publish Helm Chart needs: [image-build-and-push]