Skip to content

Commit 6afb94d

Browse files
committed
LOGIC-999 Only deploy tags on main branch to github
1 parent 8d73545 commit 6afb94d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.citd/Jenkinsfilek8s

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ pipeline {
5050
not {
5151
changeRequest()
5252
}
53+
// Only tags on main branch will be pushed to github
54+
branch 'main'
5355
tag pattern: "${env.SEMVER_REGEX}", comparator: "REGEXP"
5456
}
5557
steps {

0 commit comments

Comments
 (0)