Make dokku play nice when we have multiple receive-app hooks in various plugins.

This commit is contained in:
Rob Blanckaert
2015-08-20 17:24:50 -04:00
parent acd28f4647
commit 98990b6885
3 changed files with 8 additions and 3 deletions

View File

@@ -4,4 +4,9 @@ source "$(dirname $0)/../common/functions"
APP="$1"; REV="$2"
dokku git-build $APP $REV
# Don't trigger git build if there is no git repository.
if [ ! -d "$DOKKU_ROOT/$APP/refs" ]; then
cat
else
dokku git-build $APP $REV
fi