
How to Skip Automatic Netlify Build When Committing to GitHub
I found this way to skip the automatic Netlify build when committing to GitHub very useful, especially when I’m making small changes that don’t require a full build.
This is very helpful when you are free tier user of Netlify and you want to save your build minutes. It can also be useful when you are making changes that do not affect the site, such as updating documentation or fixing typos.
I have tried commit from terminal and from VSCode, and it works in both cases.
Skip an Automatic Netlify Build When Committing to GitHub
This is a very simple process. All you have to do is to add [skip ci] or [skip netlify] anywhere in the Git commit message.
For example:
git commit -m "changed foo to bar [skip netlify]"
You can also check this out in their docs.
If you’re using other CI tools as well, I recommend using the [skip netlify] command because the [skip ci] one can cause a conflict.
Please log in to post a comment.