aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-02-02 17:20:08 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-02-02 17:20:08 +0100
commitbcb010db7d0d20f27e2693359002e4dc8736ce76 (patch)
treee56ff51c32abedfdcabd084b48b74b8130b4dbf1 /project
parent3e65cff0caf4c671d3cf98da347792c85a4ac2de (diff)
downloaddotty-bcb010db7d0d20f27e2693359002e4dc8736ce76.tar.gz
dotty-bcb010db7d0d20f27e2693359002e4dc8736ce76.tar.bz2
dotty-bcb010db7d0d20f27e2693359002e4dc8736ce76.zip
Fix slack integration and allow empty to gh-pages
Diffstat (limited to 'project')
-rwxr-xr-xproject/scripts/genDocs4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/scripts/genDocs b/project/scripts/genDocs
index b8d0ba254..a657a06f3 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"
+ git commit -m "Update gh-pages site for $GIT_HEAD" || true
# push using dotty-bot to origin
- git push https://dotty-bot:$BOT_PASS@github.com/lampepfl/dotty.git
+ git push https://dotty-bot:$BOT_PASS@github.com/lampepfl/dotty.git || true
else
# wrong parameter passed, should only generate docs if argument is "test"
# to avoid multiple site gens