Automatically build and upload documentation site. no issue #
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 9 Jun 2015 20:40:47 +0000 (16:40 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 9 Jun 2015 20:41:07 +0000 (16:41 -0400)
jenkins/run-cwl-tests.sh

index dcb0285cc8c6e593599874379a65573389b87850..ac7de4f462ba60c036345734c0c303aae6a138f5 100755 (executable)
@@ -177,3 +177,17 @@ if [[ "$UPLOAD_DOCKER" != 0 ]]; then
     docker push commonworkflowlanguage/cwltool
     docker push commonworkflowlanguage/nodejs-engine
 fi
+
+# Setup virtualenv and build documentation.
+
+virtualenv ../venv
+. ../venv/bin/activate
+python setup.py install
+cd ..
+
+git clone git@github.com:common-workflow-language/common-workflow-language.github.io.git
+python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=common-workflow-language.github.io
+cd common-workflow-language.github.io
+git add --all
+git commit -m"Build bot"
+git push