mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 11:16:03 +00:00
Add update doc script
This commit is contained in:
parent
7aab403db6
commit
ee003d36d0
10
update_doc.sh
Executable file
10
update_doc.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
set -e
|
||||||
|
|
||||||
|
cargo doc
|
||||||
|
FROM=$(git rev-parse --short HEAD)
|
||||||
|
git checkout gh-pages
|
||||||
|
rsync -a target/doc/ .
|
||||||
|
git add .
|
||||||
|
git commit -m "Update doc for ${FROM}"
|
||||||
|
# git push
|
||||||
|
git checkout master
|
Loading…
Reference in New Issue
Block a user