X-Git-Url: https://git.arvados.org/arvados-dev.git/blobdiff_plain/fbce5ceda30fd45c1834d487ed882f394352ef8a..0b1b571382be1fbbfb4b2dbb499f0367a798e711:/jenkins/run-cwl-tests.sh?ds=sidebyside diff --git a/jenkins/run-cwl-tests.sh b/jenkins/run-cwl-tests.sh index ac7de4f..730261b 100755 --- a/jenkins/run-cwl-tests.sh +++ b/jenkins/run-cwl-tests.sh @@ -185,9 +185,20 @@ virtualenv ../venv 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 +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 commit -m"Build bot" +git diff-index --quiet HEAD || git commit -m"Build bot" git push