Fix dev deployments when a directory is present
This commit is contained in:
parent
587c511c97
commit
9f1537b281
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -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/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue