Only deploy when on master branch (fix syntax)
This commit is contained in:
parent
96782dc303
commit
e85657f8b4
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -17,7 +17,7 @@ pipeline {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when {
|
when {
|
||||||
expression {
|
expression {
|
||||||
env.GIT_BRANCH === 'master'
|
env.GIT_BRANCH == 'master'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue