Release · v2.28.5
Skip Netlify builds on main to stop metered…
build: skip Netlify builds on main to stop metered production deploys
Details
Production is deployed by GitHub Pages (ci.yml); Netlify exists only for branch/PR previews, which are unmetered. Netlify production deploys cost 15 credits each, so add a [build] ignore rule that skips any build where $BRANCH is main (ignore semantics: exit 0 = skip). Deploy previews and branch deploys use the head branch name, so they still build; manual "Trigger deploy" from the Netlify UI also still works. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015WJN8LQbkFiCDVEQaGemqy
Files changed (2)
| PREVIEW.md | +4 | −1 |
| netlify.toml | +8 | −0 |