1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-04-27 15:05:35 +00:00

makefile: deopy 发布到 gh-pages 分支

This commit is contained in:
chai2010 2018-09-27 07:00:25 +08:00
parent cf0f02e24e
commit 6bf374492b
3 changed files with 17 additions and 1 deletions

View File

@ -30,5 +30,19 @@ cover:
convert -resize 1800x2360! cover.png cover.jpg
convert -resize 200x262! cover.png cover_small.jpg
# https://chai2010.cn/advanced-go-programming-book
deploy:
-rm -rf _book
gitbook build
cd _book && \
git init && \
git add . && \
git commit -m "Update github pages" && \
git push --force --quiet "https://github.com/chai2010/advanced-go-programming-book.git" master:gh-pages
@echo deploy done
clean:
-rm -rf _book

View File

@ -11,8 +11,9 @@
## 在线阅读
- https://www.gitbook.com/book/chai2010/advanced-go-programming-book/
- [SUMMARY.md](SUMMARY.md)
- https://chai2010.cn/advanced-go-programming-book/
- https://www.gitbook.com/book/chai2010/advanced-go-programming-book/
## 相关报告

View File

@ -10,6 +10,7 @@
## 在线阅读
- https://chai2010.cn/advanced-go-programming-book/
- https://www.gitbook.com/book/chai2010/advanced-go-programming-book/
## 关注微信公众号(golang-china)