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:
parent
cf0f02e24e
commit
6bf374492b
14
Makefile
14
Makefile
@ -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
|
||||
|
@ -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/
|
||||
|
||||
## 相关报告
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
## 在线阅读
|
||||
|
||||
- https://chai2010.cn/advanced-go-programming-book/
|
||||
- https://www.gitbook.com/book/chai2010/advanced-go-programming-book/
|
||||
|
||||
## 关注微信公众号(golang-china)
|
||||
|
Loading…
x
Reference in New Issue
Block a user