diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-19 21:22:59 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-19 21:22:59 (GMT) |
commit | 8ba26b482ba3f37ce262940af70650be399fd548 (patch) | |
tree | ab48de386620e5e888614ed5359a0371c07252f4 /contrib/local | |
parent | 0641c59dd1de9541f9650a58739ff1a7f39fece7 (diff) | |
download | uscxml-8ba26b482ba3f37ce262940af70650be399fd548.zip uscxml-8ba26b482ba3f37ce262940af70650be399fd548.tar.gz uscxml-8ba26b482ba3f37ce262940af70650be399fd548.tar.bz2 |
Dire bug in uscxml-browser, smaller fixes and documentation
Diffstat (limited to 'contrib/local')
-rwxr-xr-x | contrib/local/deploy-docs.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/local/deploy-docs.sh b/contrib/local/deploy-docs.sh new file mode 100755 index 0000000..5e84431 --- /dev/null +++ b/contrib/local/deploy-docs.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +ME=`basename $0` +DIR="$( cd "$( dirname "$0" )" && pwd )" +CWD=`pwd` + +if [ ! -f "docs/html/index.html" ] +then + echo "No documentation found in docs/html - run from build dir after make docs" + exit +fi + +DOCS="${CWD}/docs/html" + +tempfoo=`basename $0` +TMPDIR=`mktemp -d /tmp/${tempfoo}.XXXXXX` || exit 1 +cd ${TMPDIR} + +git clone -b gh-pages git@github.com:tklab-tud/uscxml.git +rm -rf uscxml/* +cp -R /Users/sradomski/Documents/TK/Code/uscxml/build/cli/docs/html/ ./uscxml/ +cd uscxml +git add -A +git commit -m "Updated documentation" +git push |