From 8408ac9523bbb243556d1a9c8949ea2410003c72 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 2 Feb 2017 18:25:32 +0100 Subject: Change integrations to only fire on changed build status --- project/scripts/genDocs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project') 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 -- cgit v1.2.3