8000 update deploy bash · liaol/awesome-golang-leetcode@1c36c70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c36c70

Browse files
committed
update deploy bash
1 parent 94c8eeb commit 1c36c70

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

generate.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,20 @@ git pull
1919
#all-contributors add kylesliu code,blog,design,doc
2020
#all-contributors generate
2121

22-
#rm -rf public
22+
rm -rf public_new
2323
rm -rf gitbook
2424

25-
#mkdir public
25+
mkdir public_new
2626
mkdir gitbook
2727

2828
cp -rfv src/* gitbook
2929
cp README.md gitbook
3030
cp SUMMARY.md gitbook
3131
cp SUMMARY-LIST.md gitbook
3232
cp CONTRIBUTOR.md gitbook
33-
gitbook build --config book.json gitbook public --timing --log debug
33+
gitbook build --config book.json gitbook public_new --timing --log debug
3434
#gitbook serve --config book.json gitbook public
3535

3636
# nohup sh generate.sh >generate.log 2>&1 &
37+
38+
rm -rf public && mv public_new public

0 commit comments

Comments
 (0)
0