Last active
August 1, 2019 14:47
-
-
Save nakov/ff4758eafa2d2d1296a75aa91cac1ddf to your computer and use it in GitHub Desktop.
GitBook-CLI Build & Deploy Scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm install -g gitbook-cli | |
| npm install -g serve | |
| call gitbook install | |
| call gitbook build . --log=debug --debug | |
| start serve _book | |
| start "" http://127.0.0.1:5000 | |
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npm install -g gitbook-cli | |
| rmdir /s /q _book | |
| call gitbook install | |
| call gitbook build . --log=debug --debug | |
| git clone --depth 1 https://github.com/SoftUni/Programming-Basics-Book-CSharp-EN -b gh-pages _gh-pages | |
| xcopy /s /y _book _gh-pages | |
| cd _gh-pages | |
| git add . | |
| git status | |
| git commit -m "Book web site deployment" | |
| git push | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment