diff --git a/deploy-docs.sh b/deploy-docs.sh new file mode 100755 index 0000000..fd41e19 --- /dev/null +++ b/deploy-docs.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +cargo doc --all --no-deps +rm -rf ./docs +echo "" > target/doc/index.html +git checkout gh-pages +git rm --quiet -r --force --ignore-unmatch ./* +cp -a target/doc ./docs +git add docs/ + +echo "minio-rs.min.io" > CNAME +git add CNAME + +git commit --quiet --all -m "update rustdoc htmls" +git push -u origin gh-pages