-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