diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-22 00:24:07 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-22 00:24:07 +0100 |
commit | c36dd5fd07bc58f65936e856ff939c4d86dc9329 (patch) | |
tree | 5b8446526bf35732c4226b0608c587b2de0bc3df /scripts/update_docs | |
parent | 5deb18b72a4993a4baf59b7da24a04116eab31e6 (diff) | |
parent | a207b43097d28ab8fc0c72376d00223518c424b7 (diff) | |
download | YAGE-c36dd5fd07bc58f65936e856ff939c4d86dc9329.tar.gz YAGE-c36dd5fd07bc58f65936e856ff939c4d86dc9329.zip |
Merge branch 'develop'
Diffstat (limited to 'scripts/update_docs')
-rwxr-xr-x | scripts/update_docs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/update_docs b/scripts/update_docs new file mode 100755 index 00000000..f1ba2ba9 --- /dev/null +++ b/scripts/update_docs @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +if [[ "$TRAVIS_BRANCH" == "master" ]]; then + doxygen ./docs/Doxyfile + cd html + git init + git config user.name "TravisBot" + git config user.email "" + git remote add upstream "https://$GH_TOKEN@github.com/ymherklotz/YAGE.git" + git fetch upstream + git reset upstream/gh-pages + git add -A + git commit -m "Rebuilding documentation" + git push -q upstream HEAD:gh-pages +fi |