Skip to content

Commit ccb1820

Browse files
Update build.sh
1 parent e42851f commit ccb1820

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
2+
rm -rf build
3+
rm -rf public
24
# 生成hexo静态文件
35
npm install hexo-cli
46
npm install
57
./node_modules/hexo-cli/bin/hexo generate
6-
mkdir build
8+
hexo generate
79
cp -r public build

0 commit comments

Comments
 (0)