mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
13 lines
272 B
Bash
Executable File
13 lines
272 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$(dirname $0)/../common/functions"
|
|
|
|
APP="$1"; REV="$2"
|
|
|
|
# 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
|