mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-08 18:30:40 +00:00
12 lines
228 B
Bash
Executable File
12 lines
228 B
Bash
Executable File
set -e
|
|
|
|
cargo doc --no-deps
|
|
FROM=$(git rev-parse --short HEAD)
|
|
git checkout gh-pages
|
|
git fetch && git rebase origin/gh-pages
|
|
rsync -a target/doc/ .
|
|
git add .
|
|
git commit -m "Update doc for ${FROM}"
|
|
# git push
|
|
git checkout master
|