Fix dev deployments when a directory is present

This commit is contained in:
William Brawner 2018-09-01 10:28:04 -05:00
parent 587c511c97
commit 9f1537b281

2
Jenkinsfile vendored
View file

@ -40,7 +40,7 @@ pipeline {
} }
stage('Deploy to Dev') { stage('Deploy to Dev') {
steps { steps {
sh 'rm /var/www/html/*' sh 'rm -rf /var/www/html/*'
sh 'cp -rv dist/budget/* /var/www/html/' sh 'cp -rv dist/budget/* /var/www/html/'
} }
} }