diff --git a/_docs/configure-ci-cd-pipeline/triggers/git-triggers.md b/_docs/configure-ci-cd-pipeline/triggers/git-triggers.md index 2431091a3..f302062e3 100644 --- a/_docs/configure-ci-cd-pipeline/triggers/git-triggers.md +++ b/_docs/configure-ci-cd-pipeline/triggers/git-triggers.md @@ -169,7 +169,8 @@ You can also define [multiple expressions](http://tldp.org/LDP/GNU-Linux-Tools-S ``` {app/**,test/**} -{**/package.json,my-subproject/** } +{**/package.json,my-subproject/**} +!{deployment/**,**/version.cfg} ``` Once a commit happens to a code repository, Codefresh will see which files are changed from the git provider and trigger the build **only** if the changed files match the glob expression. If there is no match no build will be triggered.