diff options
Diffstat (limited to 'project')
-rwxr-xr-x | project/scripts/genDocs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/scripts/genDocs b/project/scripts/genDocs index a657a06f3..d18a583be 100755 --- a/project/scripts/genDocs +++ b/project/scripts/genDocs @@ -57,10 +57,10 @@ if [ "$1" = "test" ]; then # add all contents of $PWD to commit git add -A - git commit -m "Update gh-pages site for $GIT_HEAD" || true + git commit -m "Update gh-pages site for $GIT_HEAD" || echo "nothing new to commit" # push using dotty-bot to origin - git push https://dotty-bot:$BOT_PASS@github.com/lampepfl/dotty.git || true + git push https://dotty-bot:$BOT_PASS@github.com/lampepfl/dotty.git || echo "couldn't push, since nothing was added" else # wrong parameter passed, should only generate docs if argument is "test" # to avoid multiple site gens |