X-Git-Url: https://git.arvados.org/arvados-dev.git/blobdiff_plain/530468d1224a7c2251ee54bf5ec8d1f8d875de14..0b1b571382be1fbbfb4b2dbb499f0367a798e711:/jenkins/run-cwl-tests.sh diff --git a/jenkins/run-cwl-tests.sh b/jenkins/run-cwl-tests.sh index dcb0285..730261b 100755 --- a/jenkins/run-cwl-tests.sh +++ b/jenkins/run-cwl-tests.sh @@ -177,3 +177,28 @@ 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 .. + +if test -d common-workflow-language.github.io ; then + cd common-workflow-language.github.io + git fetch + git reset --hard origin/master + cd .. +else + git clone git@github.com:common-workflow-language/common-workflow-language.github.io.git + cd common-workflow-language.github.io + git config user.email "sysadmin@curoverse.com" + git config user.name "Curoverse build bot" + cd .. +fi +python -mcwltool specification/cwlsite.cwl specification/cwlsite-job.json --outdir=$PWD/common-workflow-language.github.io +cd common-workflow-language.github.io +git add --all +git diff-index --quiet HEAD || git commit -m"Build bot" +git push