From 4da529a13f03e7ebb67a548ac71833bb085986ce Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 4 Sep 2022 23:53:54 -0700 Subject: [PATCH] add docs build 'deploy-docs.sh' (#22) --- deploy-docs.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 deploy-docs.sh 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