mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
remove docs folder before copying
This commit is contained in:
@@ -3,6 +3,7 @@ const shell = require('shelljs');
|
|||||||
|
|
||||||
shell.exec('gitbook build', (code, stdout, stderr) => {
|
shell.exec('gitbook build', (code, stdout, stderr) => {
|
||||||
if( code === 0 ) {
|
if( code === 0 ) {
|
||||||
|
shell.rm('-rf', 'site/docs');
|
||||||
shell.exec('mv _book site/docs')
|
shell.exec('mv _book site/docs')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user