Two fairly simple possibilities:
- put
[skip ci]
in the commit message for such commits - or use the
build.ignore
script to tell us when not to build. See this thread for more info on how that works with some examples: [Support Guide] How can I optimize my Netlify build time? - #10 by marcus