From 68cc5ddb3d4f50cc93cc7621a20966f83e3ea73a Mon Sep 17 00:00:00 2001 From: a-mankinenko <81623122+a-mankinenko@users.noreply.github.com> Date: Thu, 22 Apr 2021 17:48:37 +0300 Subject: [PATCH] Update git-triggers.md --- _docs/configure-ci-cd-pipeline/triggers/git-triggers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.