chore (Jenkinsfile): Only deploy if branch is master
This commit is contained in:
parent
f440437862
commit
d4f2dadb06
|
@ -21,6 +21,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
when {
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
container('vault') {
|
container('vault') {
|
||||||
script {
|
script {
|
||||||
|
|
Loading…
Reference in New Issue