Skip to content

ci(deploy-web): trigger on v* tags, drop the paths filter#215

Merged
DemchaAV merged 1 commit into
developfrom
ci/deploy-web-tag-trigger
Jun 18, 2026
Merged

ci(deploy-web): trigger on v* tags, drop the paths filter#215
DemchaAV merged 1 commit into
developfrom
ci/deploy-web-tag-trigger

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

Why

The v1.8.0 release fast-forwarded main with 67 changed web/ files, but deploy-web never ran — the push paths: web/** filter silently skipped it, so the live showcase kept serving the v1.7.1 site (stale thumbnails) until a manual workflow_dispatch.

What

  • Drop the paths filter. main is only pushed at releases / hotfixes, so deploying unconditionally is cheap (~30s) and always correct — and it removes the exact thing that swallowed the v1.8.0 deploy.
  • Add a tags: ["v*"] trigger as a second, guaranteed deploy path for releases. (Combining tags with paths is unreliable — tag pushes have no clean before/after to path-diff — which is the other reason paths had to go.)
  • The existing concurrency: { group: pages, cancel-in-progress: true } de-dupes the two triggers a release fires (main ff + tag).

Tests

  • YAML validated (parses; on.push.branches=[main], on.push.tags=[v*], single deploy job intact).
  • No behaviour change to the deploy steps themselves — only the trigger surface.

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.
@DemchaAV DemchaAV merged commit d709921 into develop Jun 18, 2026
11 checks passed
@DemchaAV DemchaAV deleted the ci/deploy-web-tag-trigger branch June 18, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant