mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 15:28:40 +08:00
Update deploy.sh
This commit is contained in:
parent
c8c94cc2d1
commit
b1dd474016
@ -7,10 +7,10 @@ rev=$(git rev-parse --short HEAD)
|
|||||||
cd book
|
cd book
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git config user.name "Steve Klabnik"
|
git config user.name "Aaklo Xu"
|
||||||
git config user.email "steve@steveklabnik.com"
|
git config user.email "aakloxu@gmail.com"
|
||||||
|
|
||||||
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang/book.git"
|
git remote add upstream "git@github.com:rust-lang-cn/book-cn.git"
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git reset upstream/gh-pages
|
git reset upstream/gh-pages
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user