From b6243e04a00a611b96ca2c6bf2e063e670f5be14 Mon Sep 17 00:00:00 2001 From: DemchaAV Date: Thu, 18 Jun 2026 14:36:26 +0100 Subject: [PATCH] ci(deploy-web): trigger on v* tags, drop the paths filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v1.8.0 release fast-forwarded main with 67 changed web/ files, yet deploy-web never ran — the push 'paths: web/**' filter silently skipped it, so the live showcase kept serving the previous release until a manual workflow_dispatch. Drop the paths filter (main is only pushed at releases / hotfixes, so an unconditional deploy is cheap and correct) and add a 'v*' tag trigger as a second guaranteed path. Existing concurrency group de-dupes the two triggers a release fires. --- .github/workflows/deploy-web.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml index a5af51fb..becddb04 100644 --- a/.github/workflows/deploy-web.yml +++ b/.github/workflows/deploy-web.yml @@ -9,13 +9,20 @@ name: Deploy web showcase to GitHub Pages # REQUIRES: repository Settings → Pages → Source = "GitHub Actions" # (one-time switch from "Deploy from a branch"). Until that switch is made, # this workflow builds the artifact but Pages keeps serving the old source. +# +# Triggers: every push to `main` AND every `v*` release tag. The tag trigger +# is the reliable one for releases — the v1.8.0 release fast-forwarded `main` +# with 67 changed `web/` files yet the old `paths: web/**` filter silently +# skipped the deploy, so the live site kept serving the previous release. We +# dropped the paths filter rather than depend on it: `main` is only pushed at +# releases / hotfixes, so deploying unconditionally is cheap and correct, and +# the `v*` tag is a second guaranteed trigger. `concurrency` de-dupes the two +# triggers a release fires. on: push: branches: [main] - paths: - - "web/**" - - ".github/workflows/deploy-web.yml" + tags: ["v*"] workflow_dispatch: permissions: