From ea5a6c216b99319353bddc99b2a1a0c1b2241b6d Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Thu, 28 May 2026 13:17:58 -0700 Subject: [PATCH] ci(deploy): allow workflow_dispatch to also trigger Vercel deploy (#34081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Today's three skills-index PRs (#33748, #33809, #34025) merged to main but the live Vercel-hosted docs site didn't pick them up — Vercel is fired by the deploy-vercel job, which was gated on release events only. Out-of-band main commits between releases couldn't reach Vercel without cutting a tag. Widen the gate to also include workflow_dispatch so 'gh workflow run deploy-site.yml' can ship pending main changes to Vercel on demand. Release-tag behavior is unchanged. --- .github/workflows/deploy-site.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 823496157a9..82acaa6667d 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -22,7 +22,12 @@ concurrency: jobs: deploy-vercel: - if: github.event_name == 'release' + # Triggered automatically on release publish (production cuts) and + # manually via `gh workflow run deploy-site.yml` when an out-of-band + # main commit needs to ship live before the next release tag — e.g. + # a skills-index PR that doesn't touch website/** paths and so + # doesn't auto-deploy via the deploy-docs path. + if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: - name: Trigger Vercel Deploy