ensure the build folder is cleaned
This commit is contained in:
parent
c45bf86c80
commit
26c5765272
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -8,7 +8,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh '''cd src
|
sh '''cd src
|
||||||
npm install
|
npm install
|
||||||
npx presskit build --output ../out --pretty-links --collapse-menu'''
|
npx presskit build --output ../out --pretty-links --collapse-menu --clean-build-folder'''
|
||||||
sh '''rm -rf /var/www/press/*
|
sh '''rm -rf /var/www/press/*
|
||||||
cp -r out/. /var/www/press'''
|
cp -r out/. /var/www/press'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue