please don't deploy pull requests, that would be bad

This commit is contained in:
Marks Polakovs 2020-04-13 18:45:02 +02:00
parent 45f26d7c75
commit 11c1411775

6
Jenkinsfile vendored
View file

@ -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'