Skip to content

Commit 724cf09

Browse files
author
Jeff
committed
remove docs folder before copying
1 parent ce6d3ea commit 724cf09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/build-docs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const shell = require('shelljs');
33

44
shell.exec('gitbook build', (code, stdout, stderr) => {
55
if( code === 0 ) {
6+
shell.rm('-rf', 'site/docs');
67
shell.exec('mv _book site/docs')
78
}
89
});

0 commit comments

Comments
 (0)