please don't deploy pull requests, that would be bad
This commit is contained in:
parent
45f26d7c75
commit
11c1411775
1 changed files with 6 additions and 0 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -43,6 +43,12 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build and deploy to dev instance') {
|
stage('Build and deploy to dev instance') {
|
||||||
|
when {
|
||||||
|
anyOf {
|
||||||
|
branch 'master'
|
||||||
|
branch 'production'
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'sed -i -e \'s/ury.org.uk\\/webstudio/ury.org.uk\\/webstudio-dev/\' package.json'
|
sh 'sed -i -e \'s/ury.org.uk\\/webstudio/ury.org.uk\\/webstudio-dev/\' package.json'
|
||||||
sh 'yarn build'
|
sh 'yarn build'
|
||||||
|
|
Loading…
Reference in a new issue