diff --git a/doc_index.html b/doc_index.html new file mode 100644 index 0000000..612db29 --- /dev/null +++ b/doc_index.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/doc_upload.sh b/doc_upload.sh index d4a33c7..b77cfe9 100755 --- a/doc_upload.sh +++ b/doc_upload.sh @@ -5,6 +5,9 @@ token="$GH_TOKEN" commit=$(git rev-parse --short HEAD) msg="Documentation for $repo@$commit" +# add a homepage +cp ./doc_index.html ./target/doc/index.html + git clone https://github.com/davisp/ghp-import ./ghp-import/ghp_import.py -n -m "$msg" target/doc # pipe output to /dev/null to avoid printing our token in travis log