ci: stop site/** from triggering the full WASM build

ci-ubicloud.yml used paths-ignore: ["docs/**", "**.md"] with
concurrency.cancel-in-progress: false, so every non-markdown edit under
site/ queued a full 6-tool KiCad WASM build plus the wxWidgets + KiCad
e2e suites — and queued rather than superseded, so a multi-commit push
stacked several of them up.

The marketing site shares no build inputs with the WASM tools and ships
from its own deploy-site.yml. Landed on its own, ahead of the Cloudflare
migration commits, so those don't pay the old cost.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LAmkjM7okPdScp9XLW1JVr
This commit is contained in:
Viktor Vaczi 2026-07-27 13:33:36 +02:00
commit 2e1b69998f

View file

@ -11,14 +11,19 @@ name: CI full build + e2e (Ubicloud)
# in scripts/deploy/wasm-cache-hash.mjs does. For inputs the sc-hash can't see
# (base-image / apt drift, a bad cache) bump .ci-cache-epoch; for a one-off
# rebuild put [no-cache] or [rebuild-wasm] in the commit message / PR title.
#
# site/** is ignored: the Astro marketing site shares no build inputs with the
# WASM tools and ships from its own deploy-site.yml. Without the exclusion every
# blog post or landing-page tweak queued a full 6-tool build + both e2e suites —
# and since concurrency never cancels, a multi-commit push stacked them up.
on:
push:
branches: ["main", "ubicloud-ci"]
paths-ignore: ["docs/**", "**.md"]
paths-ignore: ["docs/**", "**.md", "site/**"]
pull_request:
branches: ["main"]
paths-ignore: ["docs/**", "**.md"]
paths-ignore: ["docs/**", "**.md", "site/**"]
workflow_dispatch:
inputs:
no_cache: