From: Peter Amstutz Date: Tue, 9 Jun 2015 20:40:47 +0000 (-0400) Subject: Automatically build and upload documentation site. no issue # X-Git-Url: https://git.arvados.org/arvados-dev.git/commitdiff_plain/fbce5ceda30fd45c1834d487ed882f394352ef8a Automatically build and upload documentation site. no issue # --- diff --git a/jenkins/run-cwl-tests.sh b/jenkins/run-cwl-tests.sh index dcb0285..ac7de4f 100755 --- a/jenkins/run-cwl-tests.sh +++ b/jenkins/run-cwl-tests.sh @@ -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