update: answer reference in "type-conversions"

This commit is contained in:
Somoku
2022-08-29 15:52:39 +08:00
parent e7b4b0215f
commit 679bc95397
7 changed files with 19 additions and 7 deletions

21
zh-CN/deploy.sh Normal file
View File

@@ -0,0 +1,21 @@
## this script deploys the static website of course.rs to github pages
## build static website for book
mdbook build
## copy CNAME info to book dir
cp ./assets/CNAME ./book/
cp ./assets/*.html ./book/
cp ./assets/sitemap.xml ./book/
## init git repo
cd book
git init
git config user.name "sunface"
git config user.email "cto@188.com"
git add .
git commit -m 'deploy'
git branch -M gh-pages
git remote add origin https://github.com/sunface/zh.practice.rs
## push to github pages
git push -u -f origin gh-pages