1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| #!/bin/sh
read -p "Please input your book name:" book
cd /Users/skylee/Gitbook/Library/import/$book
gitbook build
cp -r _book/* ../on_linebook/$book
cd ..
git add .
git commit -m 'update'
git push origin master
cd ~
envoy run book
|